SQLiteFunc

sealed class SQLiteFunc

Provides a collection of utility functions that correspond to SQLite's built-in core functions. These functions allow for retrieving metadata and status information directly from the SQLite engine, such as the library version, change counts, compile-time options, and more.

These functions can be accessed using KQLiteDatabase object.

Author

MOHAMMAD AZIM ANSARI

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Functions

Link copied to clipboard

Executes SELECT changes() and retrieves the number of rows modified, inserted, or deleted by the most recently completed INSERT, UPDATE, or DELETE statement.

Link copied to clipboard

Retrieves a single compile-time option used to build the underlying SQLite library. This function corresponds to the sqlite_compileoption_get(N) SQL function.

Link copied to clipboard

Checks whether the underlying SQLite library was compiled with a specific compile-time option. This function corresponds to the sqlite_compileoption_used(X) SQL function.

Link copied to clipboard

Retrieves the ROWID of the last row inserted into the database. This function executes SELECT last_insert_rowid().

Link copied to clipboard

Retrieves the source code identifier of the underlying SQLite library. This function executes SELECT sqlite_source_id().

Link copied to clipboard

Executes SELECT total_changes() to get the total number of rows modified, inserted, or deleted by all INSERT, UPDATE, or DELETE statements since the database connection was opened.

Link copied to clipboard

Retrieves the underlying SQLite version string by executing SELECT sqlite_version()