method
query_cache
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
query_cache()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 187
def query_cache
@thread_query_caches.compute_if_absent(ActiveSupport::IsolatedExecutionState.context) do
Store.new(@query_cache_version, @query_cache_max_size)
end
end