TransacterImpl

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

Constructors

Link copied to clipboard
constructor(driver: SqlDriver)

Functions

Link copied to clipboard
open override fun transaction(noEnclosing: Boolean, body: TransactionWithoutReturn.() -> Unit)

Starts a Transaction and runs body in that transaction.

Link copied to clipboard
open override fun <R> transactionWithResult(noEnclosing: Boolean, bodyWithReturn: TransactionWithReturn<R>.() -> R): R

Starts a Transaction and runs bodyWithReturn in that transaction.