method
query_hash
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver
query_hash()private
Converts the query parameters of the URI into a hash.
"localhost?pool=5&reaping_frequency=2" # => { pool: "5", reaping_frequency: "2" }
returns empty hash if no query present.
"localhost" # => {}