<div dir="ltr">Hi Simon,<div>I am forwarding this to the DBIx::Class mailing list, as they may have input.</div><div><br></div><div>Thanks,</div><div>Justin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 22, 2014 at 2:58 PM, Simon Hollier <span dir="ltr"><<a href="mailto:hellosimon@gmail.com" target="_blank">hellosimon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Justin,<div><br></div><div>I needed the ability to purge certain cached queries in different places than where the query gets cached. So, I hacked Cursor::Cached to allow one to specify a cache_key in the attributes so I could purge it elsewhere by this cache_key name. I wanted to see if you had any interest in this simple patch (or maybe point out that I'm missing something obvious) :</div>
<div><br></div><div><div>28c28</div><div>< cache_key => $attrs->{cache_key} || $class->_build_cache_key(@_),</div><div>---</div><div>> cache_key => $class->_build_cache_key(@_),</div></div>
<div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>Simon<div>-- <br>Simon Hollier
</div></div></font></span></div>
</blockquote></div><br></div>