vertx / io.vertx.kotlin.cassandra / io.vertx.cassandra.CassandraClient / executeAwait

# executeAwait

`suspend fun CassandraClient.executeAwait(query: String): ResultSet`

Execute the query and provide a handler for consuming results.

### Parameters

`query` - the query to execute

Return
current Cassandra client instance *

`suspend fun CassandraClient.executeAwait(statement: Statement): ResultSet`

Execute the statement and provide a handler for consuming results.

### Parameters

`statement` - the statement to execute

Return
current Cassandra client instance *