I was wondering if DM has any type of query caching?[1] if not and we were to go about hacking it, where would be a good place to start?
tx /dc [1] AR example: http://dev.rubyonrails.org/changeset/6189 53 54 def cache(sql) 55 result = if @query_cache.has_key?(sql) 56 log_info(sql, "CACHE", 0.0) 57 @query_cache[sql] 58 else 59 @query_cache[sql] = yield 60 end 61 62 result ? result.dup : nil 63 end 64 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
