Transacter
interface Transacter
Content copied to clipboard
A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.
Types
Transaction
Link copied to clipboard
Functions
transaction
Link copied to clipboard
abstract fun transaction(noEnclosing: Boolean = false, body: TransactionWithoutReturn.() -> Unit)
Content copied to clipboard
transactionWithResult
Link copied to clipboard
abstract fun <R> transactionWithResult(noEnclosing: Boolean = false, bodyWithReturn: TransactionWithReturn<R>.() -> R): R
Content copied to clipboard
Starts a Transaction and runs body in that transaction.
Inheritors
TransacterImpl
Link copied to clipboard