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

queryStreamAwait

suspend fun SQLOperations.queryStreamAwait(sql: String): SQLRowStream

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

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

Return