method
columns_with_query_cache
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::QueryCache
columns_with_query_cache(*args)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 67
def columns_with_query_cache(*args)
if @query_cache_enabled
@query_cache["SHOW FIELDS FROM #{args.first}"] ||= columns_without_query_cache(*args)
else
columns_without_query_cache(*args)
end
end