instance method
create_savepoint
Ruby on Rails 7.2.3
Since v5.2.8.1Signature
create_savepoint(name = current_savepoint_name)
No documentation comment.
Parameters
-
nameopt = current_savepoint_name
Source
# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 11
def create_savepoint(name = current_savepoint_name)
internal_execute("SAVEPOINT #{name}", "TRANSACTION")
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Savepoints