Methods
- C
- F
- N
- R
Class Public methods
new(connection, savepoint_name, parent_transaction, options, *args)
Link
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 145 def initialize(connection, savepoint_name, parent_transaction, options, *args) super(connection, options, *args) parent_transaction.state.add_child(@state) if options[:isolation] raise ActiveRecord::TransactionIsolationError, "cannot set transaction isolation in a nested transaction" end connection.create_savepoint(@savepoint_name = savepoint_name) end
Instance Public methods
commit()
Link
full_rollback?()
Link