instance method parse_query_cache

Ruby on Rails 8.1.2

Since v8.1.2 Private

Signature

parse_query_cache()

No documentation comment.

Source
# File activerecord/lib/active_record/database_configurations/url_config.rb, line 60
        def parse_query_cache
          case value = @configuration_hash[:query_cache]
          when /\A\d+\z/
            value.to_i
          when "false"
            false
          else
            value
          end
        end

Defined in activerecord/lib/active_record/database_configurations/url_config.rb line 60 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::DatabaseConfigurations::UrlConfig

Type at least 2 characters to search.

↑↓ navigate · open · esc close