Package-level declarations

Configuring Pragma Settings

override fun onConfigure(pragma: KQLitePragma) {
pragma.foreignKeys.set(true)
pragma.journalMode.set(JournalMode.WAL)
}

Types

Link copied to clipboard

Represents the journaling mode for a SQLite database, which controls how database transactions are recorded and rolled back. The journaling mode can significantly impact performance and data integrity.

Link copied to clipboard
sealed class KQLitePragma(con: SQLiteConnection)

Provides a type-safe and convenient API for interacting with SQLite PRAGMA statements.

Link copied to clipboard

Represents the database locking mode pragma KQLitePragma.lockingMode

Link copied to clipboard
interface PragmaCommand<T : Any>

Represents a SQLite PRAGMA command.

Link copied to clipboard
interface PragmaCursor

Represents a cursor for executing and retrieving results from a PRAGMA statement in SQLite.

Link copied to clipboard
interface PragmaMethod

Represents a SQLite PRAGMA statement method.

Link copied to clipboard
open class PragmaTable(pragma: PragmaCursor) : KQLiteTable

Represents a SQLite PRAGMA statement as a virtual table.

Link copied to clipboard

Represents the values for the PRAGMA synchronous setting in SQLite, which controls the level of disk synchronization to ensure data is written safely to the disk. Used by KQLitePragma.synchronous.

Link copied to clipboard

Specifies the storage location for temporary database files. Used by KQLitePragma.tempStore.

Link copied to clipboard

Represents the checkpointing modes for the Write-Ahead Log (WAL) in SQLite. Used by KQLitePragma.walCheckpoint.