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

# queryStreamAwait

`suspend fun SQLClient.queryStreamAwait(sql: String): 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 ....

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

Return