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

updateWithParamsAwait

suspend fun SQLConnection.updateWithParamsAwait(sql: String, params: JsonArray): UpdateResult

Executes the given prepared statement which may be an INSERT, UPDATE, or DELETE statement with the given parameters

Parameters

sql - the SQL to execute. For example INSERT INTO table ...

params - these are the parameters to fill the statement.

resultHandler - the handler which is called once the operation completes.

Return