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

queryAwait

suspend fun SQLOperations.queryAwait(sql: String): ResultSet

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

Parameters

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

resultHandler - the handler which is called once the operation completes. It will return a ResultSet.

Return