instance method
exec_no_cache
Ruby on Rails 6.1.7.10
Since v3.1.12 Last seen in v7.2.3 PrivateSignature
exec_no_cache(sql, name, binds)
No documentation comment.
Parameters
-
sqlreq -
namereq -
bindsreq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 661
def exec_no_cache(sql, name, binds)
materialize_transactions
mark_transaction_written_if_write(sql)
# make sure we carry over any changes to ActiveRecord::Base.default_timezone that have been
# made since we established the connection
update_typemap_for_default_timezone
type_casted_binds = type_casted_binds(binds)
log(sql, name, binds, type_casted_binds) do
ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
@connection.exec_params(sql, type_casted_binds)
end
end
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 661
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter