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

queryAwait

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

Execute a single SQL statement, this method acquires a connection from the the pool and executes the SQL statement and returns it back after the execution.

Parameters

sql - the statement to execute

handler - the result handler

Returnself