suspend fun <T : Any> getConnection(dbAction: suspend (SqlClient) -> T?): T
Get a connection to the database.
dbAction - code block in which a connection to the database is available
dbAction