[Dbix-class] Prefetch Problem: Related data can't be fetched

Nigel Metheringham nigel.metheringham at dev.intechnology.co.uk
Tue Feb 26 14:34:54 GMT 2008


On 26 Feb 2008, at 14:03, Matt Lawrence wrote:

> Jess Robinson wrote:
>> You can indeed prefetch a has_many rel.
>>
> Excellent. How does that work? Do you get one instance of each  
> object with a prepopulated resultset?


Single object which returns an array from the has_many accessor.

	Nigel.
--
[ Nigel Metheringham             Nigel.Metheringham at InTechnology.com ]
[ - Comments in this message are my own and not ITO opinion/policy - ]






More information about the DBIx-Class mailing list