Statement

interface Statement

Represents an intermediate stage in building a SQL SELECT query.

This interface is typically returned by the top-level select() function. It provides methods to either execute a simple query directly (e.g., SELECT DATETIME(1761301829)) or to specify the source table using the from method, which continues the query-building process.

Author

MOHAMMAD AZIM ANSARI

See also

Functions

Link copied to clipboard
abstract fun execute(): KQLiteCursor

Same as calling execute(null). Uses last opened connection.

abstract fun execute(connection: SQLiteConnection?): KQLiteCursor

Executes a simple SELECT query that does not require a FROM clause.

Link copied to clipboard
abstract fun <T : KQLiteTable> from(table: T): SelectStatement<T>
abstract fun <T : KQLiteTable> from(table: T, table2: KQLiteTable?): SelectStatement<T>

Specifies the primary table for the SELECT query.