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

Matt Lawrence matt.lawrence at ymogen.net
Tue Feb 26 16:06:50 GMT 2008


Jess Robinson wrote:
>
> On Tue, 26 Feb 2008, Matt Lawrence wrote:
>
>> Jess Robinson wrote:
>>>
>>> On Tue, 26 Feb 2008, Matt Lawrence wrote:
>>>
>>> Rubbish, whatever gave you that idea?
>>
>> Docs say:
>>
>> |prefetch| can be used with the following relationship types: 
>> |belongs_to|, |has_one| (or if you're using |add_relationship|, any 
>> relationship declared with an accessor type of 'single' or 'filter').
>
> Then docs are bork, which doc is that?

DBIx::Class::ResultSet

http://search.cpan.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/Class/ResultSet.pm#prefetch


Matt



More information about the DBIx-Class mailing list