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

# queryWithParamsAwait

`suspend fun SQLOperations.queryWithParamsAwait(sql: String, params: JsonArray): ResultSet`

Executes the given SQL SELECT prepared statement which returns the results of the query.

### Parameters

`sql` - the SQL to execute. For example SELECT * FROM table ....

`params` - these are the parameters to fill the statement.

Return