Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This class represents a single connection to a SQLite database. All APIs exposed by this class execute synchronously.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This class represents a single LRU (Least Recently Used) cache for storing prepared statements.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This class represents a single prepared statement. This class cannot be instantiated via its constructor. Instead, instances are created via thedatabase.prepare() method. All APIs exposed by this class execute synchronously.
Functions
Link copied to clipboard
suspend external fun backup(sourceDb: DatabaseSync, path: PathLike, options: BackupOptions = definedExternally): Double
Link copied to clipboard
external fun backupAsync(sourceDb: DatabaseSync, path: PathLike, options: BackupOptions = definedExternally): Promise<Double>
This method makes a database backup. This method abstracts the sqlite3_backup_init(), sqlite3_backup_step() and sqlite3_backup_finish() functions.