//runtime/com.squareup.sqldelight/Transacter
Transacter
[common] interface Transacter
A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.
Types
| Name | Summary |
|---|---|
| Transaction | [common] Content abstract class Transaction : TransactionCallbacks More info A SQL transaction. |
Functions
| Name | Summary |
|---|---|
| transaction | [common] Content abstract fun transaction(noEnclosing: Boolean = false, body: TransactionWithoutReturn.() -> Unit) More info Starts a Transaction and runs body in that transaction. |
| transactionWithResult | [common] Content abstract fun <R> transactionWithResult(noEnclosing: Boolean = false, bodyWithReturn: TransactionWithReturn<R>.() -> R): R More info Starts a Transaction and runs body in that transaction. |
Inheritors
| Name |
|---|
| TransacterImpl |