instance method columns_with_query_cache

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

columns_with_query_cache(*args)

No documentation comment.

Parameters

args rest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 66
      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

Defined in activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb line 66 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::QueryCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close