[Dbix-class] might_have and prefetch it's relationships on first access?

Mitchell Elutovich melutovich at gmail.com
Fri Jul 29 12:15:38 GMT 2016


I have a table that might_have an expansion board; an expansion board
has_many locks

Is it possible to when the might_have is first accessed to prefetch the

(Yes I know that when I get the table I can prefetch the board and it's
locks; just wondering if I have to do it this way.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20160729/b04e46ca/attachment.htm>

More information about the DBIx-Class mailing list