Surely http://p3rl.org/DBIx::Class::ParameterizedJoinHack is exactly
what's needed here - just use it on a belongs_to rel with a join_type of
left so non-matching entries are still returned, then prefetch that rel?
(ironic since I'm replying to the man who was kind enough to sponsor Shadowcat
to develop that module in the first place :)
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue
Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN
commercial support, training and consultancy packages could help your team.
Searchable Archive: http://firstname.lastname@example.org