dbQuery

abstract fun <T> dbQuery(statement: Transaction.() -> T): T

Executes a transaction synchronously.

Return

The result of the transaction.

Parameters

statement

The code to execute within the transaction.

Type Parameters

T

The return type of the statement.