compileStatement

abstract fun compileStatement(sql: String): StatementWrapper

Compiles an SQL statement into a reusable pre-compiled statement object. You may put ?s in the statement and fill in those values with SQLiteProgram.bindString and SQLiteProgram.bindLong each time you want to run the statement. Statements may not return result sets larger than 1x1.

Return

A pre-compiled StatementWrapper object.

Parameters

sql

The raw SQL statement, may contain ? for unknown values to be bound later.