Usage with the StatementCache
keithpitt opened this issue · comments
Keith Pitt commented
Hi, this is less of a bug and more of a question. How does marginalia interact with the statement cache? Will each unique comment generate a value in the ActiveRecord::StatementCache http://edgeapi.rubyonrails.org/classes/ActiveRecord/StatementCache.html or is the comment ignored? I couldn't tell by reading the source.
Keith Pitt commented
I just found out that it adds the query right before it's sent to the driver, so it doesn't mess with the statement cache. That may/or may not be useful to add to the Readme :) Thanks!!