AW: [Dbix-class] Avoid DB hit with many_to_many rel

Matt S Trout dbix-class at trout.me.uk
Sun Jul 20 01:11:17 BST 2008


On Wed, Jun 25, 2008 at 04:29:49PM +0200, Moritz Onken wrote:
> 
> Am 25.06.2008 um 16:23 schrieb Hartmaier Alexander:
> 
> >Hi!
> >
> >many_to_many is no relationship but a relationship helper, so it  
> >can't be prefetched.
> >You can of course prefetch the two relationships it consists of.
> >
> 
> Hi,
> 
> thanks. But I found that out already. As I wrote I already prefetch  
> the two rels...

Y'know, I could've sworn I fixed it. Try trunk or the latest dev release?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list