Re: AW: Avoid DB hit with many_to_many rel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AW: Avoid DB hit with many_to_many rel

Matt S Trout
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/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Loading...