executeQuery

open override fun executeQuery(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): SqlCursor

Execute a SQL statement and return a SqlCursor that iterates the result set.

Parameters

identifier

An opaque, unique value that can be used to implement any driver-side caching of prepared statements. If identifier is null, a fresh statement is required.

sql

The SQL string to be executed.

parameters

The number of bindable parameters sql contains.

binders

A lambda which is called before execution to bind any parameters to the SQL statement.