suspend fun SQLConnection.queryWithParamsAwait(sql: String, params: JsonArray): ResultSet
Executes the given SQL SELECT prepared statement which returns the results of the query.
sql
- the SQL to execute. For example SELECT * FROM table ....
params
- these are the parameters to fill the statement.
resultHandler
- the handler which is called once the operation completes. It will return a ResultSet.
Return