SuspendingTransacterImpl

Constructors

Link copied to clipboard
constructor(driver: SqlDriver)

Functions

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

Starts a Transaction and runs body in that transaction.

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

Starts a Transaction and runs bodyWithReturn in that transaction.