vertx / io.vertx.kotlin.ext.sql / io.vertx.ext.sql.SQLOperations / updateAwait

updateAwait

suspend fun SQLOperations.updateAwait(sql: String): UpdateResult

Executes the given SQL statement which may be an INSERT, UPDATE, or DELETE statement.

Parameters

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

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

Return