[Dbix-class] Problem prefetching more than one relation
Jon Warbrick
jw35 at cam.ac.uk
Thu Nov 9 13:45:53 GMT 2006
On Wed, 8 Nov 2006, Matt S Trout wrote:
> Jon Warbrick wrote:
> > Am I limited to pre-fetching only one has_many relation?
>
> At the same level, like that, for the moment yes.
Ta. So I won't do that then!
> A chain of has_manys is fine.
>
> For the record, I've found it's usually not very efficient to do that anyway
> for large resultsets because of the cross product effect, and fairly
> irrelevant for small ones.
Now that you've caused me to think about it properly I can see that what I
was trying to do was probably fairly foolish. Ta. :-)
Jon.
--
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
More information about the Dbix-class
mailing list