SQLiteStatement
SQLite Statement
Describes a SQLite query statement, potentially in prepared form, which can be executed against an active SQLite database connection.
This type is typically created by the SQLiteDatabase interface, as driven by user code, and then either executed in one-shot form, or in repeated (prepared) form, as needed.
SQLite statements hold their own resources, so they are Closeable and AutoCloseable; all statement except simple one-shot statements are managed by their owning SQLiteDatabase instance.
As a result, calling SQLiteDatabase.close will call close on any owned statements.
See also
SQLite Database API
Functions
Execute the underlying statement against the owning SQLiteDatabase; then, build a List of all results, with each structured as a map-like SQLiteObject.
Execute the underlying statement against the owning SQLiteDatabase; then, build a single result, structured as a map-like SQLiteObject.
Execute the underlying statement against the owning SQLiteDatabase; this method is optimized for one-shot execution, or execution of queries without results (such as inserts, updates, deletes, and schema changes).