[Dbix-class] don't want to hit the db again
Kevin Karabian
kkarabian at turnitin.com
Tue Apr 28 21:00:06 GMT 2015
Hi,
Is there a way to store already retrieved related objects (related as a
has_many) in a result object, such that calling the accessor for that
relationship data will not hit the db again. Basically something akin to
$_->{_relationship_data}{$relationship_name} = array of result objects.
Thanks,
KK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20150428/27e4647f/attachment.htm>
More information about the DBIx-Class
mailing list