> On Feb 9, 10:52 am, akhil <[email protected]> wrote: > Does sequel have any kind of query caching? apart from Model[] > >> On Tue, Feb 9, 2010 at 5:29 PM, Jeremy Evans <[email protected]> wrote: >> No. Also, Model.[] isn't really query caching in the general sense, >> since the caching is handled at a higher level.
Here's a rather trivial way to implement caching that works very well for me: http://pastie.org/817254 It utilizes datasets directly and not the model class, so is a pretty lightweight "wrapper" class that generally gives me all that I really need to find data, do some updates and save back to database. Your mileage may vary! Regards, Michael -- http://codeconnoisseur.org -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
