edge badge
Methods
C
E
R
Instance Public methods
create_savepoint(name = current_savepoint_name)
# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 9
def create_savepoint(name = current_savepoint_name)
  execute("SAVEPOINT #{name}")
end
current_savepoint_name()
# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 5
def current_savepoint_name
  current_transaction.savepoint_name
end
exec_rollback_to_savepoint(name = current_savepoint_name)
# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 13
def exec_rollback_to_savepoint(name = current_savepoint_name)
  execute("ROLLBACK TO SAVEPOINT #{name}")
end
release_savepoint(name = current_savepoint_name)
# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 17
def release_savepoint(name = current_savepoint_name)
  execute("RELEASE SAVEPOINT #{name}")
end