# TransactionInterface

interface TransactionInterface

Base representation for a unit block of work that is performed on a database.

#### Inheritors

Transaction

## Properties

db
Link copied to clipboard
abstract val db: DatabaseApi

The database on which the transaction tasks are performed.

outerTransaction
Link copied to clipboard
abstract val outerTransaction: Transaction?

The parent transaction of a nested transaction; otherwise, `null` if the transaction is a top-level instance.

readOnly
Link copied to clipboard
abstract val readOnly: Boolean

Whether the transaction is in read-only mode.

transactionManager
Link copied to clipboard
abstract val transactionManager: TransactionManagerApi

The transaction manager that manages this transaction instance.