class ActiveRecord::ConnectionAdapters::SavepointTransaction
def initialize(connection, savepoint_name, parent_transaction, **options)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter connection, String savepoint_name, ActiveRecord::ConnectionAdapters::RealTransaction parent_transaction, **Hash options) -> void
This signature was generated using 4 samples from 1 application.
def initialize(connection, savepoint_name, parent_transaction, **options) super(connection, **options) parent_transaction.state.add_child(@state) if isolation_level raise ActiveRecord::TransactionIsolationError, "cannot set transaction isolation in a nested transaction" end @savepoint_name = savepoint_name end