instance method parse_query_cache

Ruby on Rails 8.1.2

Since v8.1.2 Private — implementation detail, not part of the public API

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.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close