[DBIx-Class-Devel] [dbsrgits/dbix-class] Documentation Improvements (#100)

Tom Hukins notifications at github.com
Tue Apr 12 17:03:17 GMT 2016


>  
> -When you wish to extract information about a particular CD and all
> -its tracks, You can either fetch the CD row, then make another query
> -to fetch the tracks, or you can use a join. Compare:
> +To retrieve information about a particular CD and all its tracks, either
> +fetch the CD row, then make another query to fetch the tracks, or use a
> +join. Compare:

On Mon, Apr 11, 2016 at 03:29:08PM -0700, Peter Rabbitson wrote:
> I think this needs to be expanded a little - as `join` on its own
> won't fetch anything extra. Perhaps `L<join and
> select|DBIx::Class::Resultset/prefetch>` the extra data.

Good point.  I'll work on that.

> Also towards the end of this section there is a link to a reference
> manual on SQL-side join syntax, not sure if this is the best
> resource... Thoughts?

https://en.wikipedia.org/wiki/Join_%28SQL%29 provides a more database
agnostic reference and
https://blog.codinghorror.com/a-visual-explanation-of-sql-joins/
provides a popular visual summary.  How about I link to those instead?

Tom


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/100/files/fcdc83ff88abb7af881d1afcf4e04ea78f57dbb5..03dfab976209fe0e82beea31cf88417bc4eb4e09#r59412818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160412/96f9d6d2/attachment.htm>


More information about the DBIx-Class-Devel mailing list