dbQuery

fun <T> dbQuery(database: Database? = null, statement: Transaction.() -> T): T

Executes a transaction synchronously.