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

updateAwait

suspend fun SQLClient.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 ...

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

Return