withMySqlTransaction

suspend fun <T> DatabaseClient<Pool>.withMySqlTransaction(function: suspend (DatabaseClient<MySQLConnection>) -> T): T(source)