instance method
sql_key
Ruby on Rails 8.0.4
Since v3.1.12 PrivateSignature
sql_key(sql)
Returns the statement identifier for the client side cache of statements
Parameters
-
sqlreq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 914
def sql_key(sql)
"#{schema_search_path}-#{sql}"
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 914
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter