vertx / io.vertx.kotlin.cassandra / io.vertx.cassandra.CassandraClient / queryStreamAwait

# queryStreamAwait

`suspend fun CassandraClient.queryStreamAwait(sql: String): CassandraRowStream`

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 ....

Return
current Cassandra client instance *

`suspend fun CassandraClient.queryStreamAwait(statement: Statement): CassandraRowStream`

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

### Parameters

`statement` - the statement to execute.

Return
current Cassandra client instance *