instance method
parse_query_cache
Ruby on Rails edge
Since v8.1.3.1 Private — implementation detail, not part of the public APIAvailable in: v8.1.3.1 edge
Signature
parse_query_cache()
No documentation comment.
Source
# File activerecord/lib/active_record/database_configurations/url_config.rb, line 62
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 62
· View on GitHub
· Improve this page
· Find usages on GitHub