dbQuerySuspend

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

Executes a transaction asynchronously using Kotlin coroutines.

Return

The result of the transaction.

Parameters

statement

The code to execute within the transaction.

Type Parameters

T

The return type of the statement.