That's all nice, but see what does $rs->search_related('queues')->all
returns,
you'll be unpleasantly surprised :) Also note that it says "at top
level". The
warning is genuine, multiple has_many prefetch has been broken forever,
there
is a 95% complete fix for that, which I really hope to materialize
before the
end of the month. ETOOLITTLETIME.


Ah yes, I see what you mean about the related resultsets. Thanks for explaining.


Sorry... I don't see it. What exactly should I be comparing between the two result sets? (one with {prefetch => [a,b]} and the other with {prefetch => [a,b]} - > search_related(a)?

Ben


--
Ben Hitz
Senior Scientific Programmer ** Saccharomyces Genome Database ** GO Consortium
Stanford University ** [email protected]




_______________________________________________
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/[email protected]

Reply via email to