vertx / io.vertx.kotlin.sqlclient / io.vertx.sqlclient.Pool

Extensions for io.vertx.sqlclient.Pool

beginAwait

suspend fun Pool.beginAwait(): Transaction

Suspending version of method io.vertx.sqlclient.Pool.begin

getConnectionAwait

suspend fun Pool.getConnectionAwait(): SqlConnection

Suspending version of method io.vertx.sqlclient.Pool.getConnection

preparedBatchAwait

suspend fun Pool.preparedBatchAwait(sql: String, batch: List<Tuple>): RowSet

preparedQueryAwait

suspend fun Pool.preparedQueryAwait(sql: String): RowSet
suspend fun Pool.preparedQueryAwait(sql: String, arguments: Tuple): RowSet

queryAwait

suspend fun Pool.queryAwait(sql: String): RowSet