[Dbix-class] is there a way to cache a many_to_many relationship

Hartmaier Alexander alexander.hartmaier at t-systems.at
Fri May 29 12:45:09 GMT 2015


many-to-many is only a helper method over the two underlying relationships.
Did you try to cache those underlying relationships?

BR Alex

On 2015-05-29 00:56, Kevin Karabian wrote:
I know that you can cache other relationships using related_resultset()->set_cache

But, since you cannot call related_resultset on a many_to_many, I am wondering if there is another way to set a cached value.


Kevin



_______________________________________________
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/dbix-class@lists.scsys.co.uk



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20150529/6255bc2d/attachment.htm>


More information about the DBIx-Class mailing list