Subject: | (Doc issue) "DBIx::Class::Manual::Joins" needs note about "prefetch" |
Date: | Tue, 3 Feb 2009 20:33:54 -0600 |
To: | bug-DBIx-Class [...] rt.cpan.org |
From: | Sundial Services <sundial.services [...] gmail.com> |
This one threw me for several(!!) days...
The example in "DBIx::Class::Manual::Joins" (about "across multiple
relations" .. tables and chairs and legs and stuff ..) badly needs to make a
point about "prefetch."
Namely, that the "prefetch" list needs to match the "join" list.
You do, in fact, talk about that explicitly ... in "Cookbook." But that's
"in a galaxy far, far away."
The "manual on joining" page needs to emphasize this crucial point. Without
it, it's very likely that (as in my case...) what you try to do, "following
the example," just won't work and you just won't know why not.