TransacterImpl

abstract class TransacterImpl(driver: SqlDriver) : BaseTransacterImpl, Transacter

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

Constructors

Link copied to clipboard
fun TransacterImpl(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 body in that transaction.