suspend fun <T : Any> getTransaction(dbAction: suspend (SqlClient) -> T?): T
Get a transactional connection to the database. On success the transaction is committed. On error the transaction is rolled back.
dbAction - code block in which a connection to the database is available