vertx / io.vertx.kotlin.ext.sql / io.vertx.ext.sql.SQLConnection / batchWithParamsAwait

batchWithParamsAwait

suspend fun SQLConnection.batchWithParamsAwait(sqlStatement: String, args: List<JsonArray>): List<Int>

Batch a prepared statement with all entries from the args list. Each entry is a batch. The operation completes with the execution of the batch where the async result contains a array of Integers.

Parameters

sqlStatement - sql statement

args - the prepared statement arguments

handler - the result handler

Return