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

queryAwait

suspend fun SQLConnection.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