class ActiveRecord::ConnectionAdapters::TransactionManager

def current_transaction

Experimental RBS support (using type sampling data from the type_fusion project).

def current_transaction: () -> (ActiveRecord::ConnectionAdapters::RealTransaction | ActiveRecord::ConnectionAdapters::SavepointTransaction | ActiveRecord::ConnectionAdapters::NullTransaction)

This signature was generated using 70 samples from 3 applications.

def current_transaction
  @stack.last || NULL_TRANSACTION
end