Skip to content

//runtime/com.squareup.sqldelight/TransacterImpl

TransacterImpl

[common] abstract class TransacterImpl(driver: SqlDriver) : Transacter

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

Constructors

TransacterImpl [common] fun TransacterImpl(driver: SqlDriver)

Functions

Name Summary
transaction [common]
Content
open override fun transaction(noEnclosing: Boolean, body: TransactionWithoutReturn.() -> Unit)
More info
Starts a Transaction and runs body in that transaction.


transactionWithResult [common]
Content
open override fun <R> transactionWithResult(noEnclosing: Boolean, bodyWithReturn: TransactionWithReturn<R>.() -> R): R
More info
Starts a Transaction and runs body in that transaction.