method

add_transaction_record

add_transaction_record(record, ensure_finalize = true)
public

Register a record with the current transaction so that its after_commit and after_rollback callbacks can be called.