# Package-level declarations

## Types

TransactionInterface
Link copied to clipboard
interface TransactionInterface

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

TransactionManagerApi
Link copied to clipboard
interface TransactionManagerApi

Represents the manager registered to a database, which is responsible for creating new transactions and storing data related to the database and its transactions.

TransactionStore
Link copied to clipboard
class TransactionStore<T : Any>(val init: Transaction.() -> T? = null) : ReadWriteProperty<Any?, T?>

Class responsible for implementing property delegates of read-write properties in the current transaction's `UserDataHolder`.

## Functions

nullableTransactionScope
Link copied to clipboard
fun <T : Any> nullableTransactionScope(): TransactionStore<T>

Returns the result of reading/writing transaction data stored within the scope of the current transaction, or `null` if no data is found.

transactionScope
Link copied to clipboard
fun <T : Any> transactionScope(init: Transaction.() -> T): ReadWriteProperty<Any?, T>

Returns the result of reading/writing transaction data stored within the scope of the current transaction.