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

# updateAwait

`suspend fun SQLConnection.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