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

# queryStreamWithParamsAwait

`suspend fun SQLClient.queryStreamWithParamsAwait(sql: String, params: JsonArray): SQLRowStream`

Executes the given SQL SELECT statement which returns the results of the query as a read stream.

### Parameters

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

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

`handler` - the handler which is called once the operation completes. It will return a SQLRowStream.

Return