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