Transacter

interface Transacter

A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.

Types

Transaction
Link copied to clipboard
common
abstract class Transaction : TransactionCallbacks
A SQL transaction.

Functions

transaction
Link copied to clipboard
common
abstract fun transaction(noEnclosing: Boolean = false, body: TransactionWithoutReturn.() -> Unit)
Starts a Transaction and runs body in that transaction.
transactionWithResult
Link copied to clipboard
common
abstract fun <R> transactionWithResult(noEnclosing: Boolean = false, bodyWithReturn: TransactionWithReturn<R>.() -> R): R
Starts a Transaction and runs body in that transaction.

Inheritors

TransacterImpl
Link copied to clipboard