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

batchCallableWithParamsAwait

suspend fun SQLConnection.batchCallableWithParamsAwait(sqlStatement: String, inArgs: List<JsonArray>, outArgs: List<JsonArray>): List<Int>

Batch a callable statement with all entries from the args list. Each entry is a batch. The size of the lists inArgs and outArgs MUST be the equal. The operation completes with the execution of the batch where the async result contains a array of Integers.

Parameters

sqlStatement - sql statement

inArgs - the callable statement input arguments

outArgs - the callable statement output arguments

handler - the result handler

Return