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

# queryWithParamsAwait

`suspend fun SQLClient.queryWithParamsAwait(sql: String, arguments: JsonArray): ResultSet`

Execute a single SQL prepared statement, this method acquires a connection from the the pool and executes the SQL prepared statement and returns it back after the execution.

### Parameters

`sql` - the statement to execute

`arguments` - the arguments to the statement

`handler` - the result handler

Returnself