instance method
sql_key
Ruby on Rails 7.0.10
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 825
def sql_key(sql)
"#{schema_search_path}-#{sql}"
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 825
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter