Journal Mode
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.
The PRAGMA journal_mode statement is used to change the journal mode.
Example:
// Inside KQLiteDatabase
override fun onConfigure(pragma: KQLitePragma) {
// Enable Write-Ahead Logging
pragma.journalMode.set(JournalMode.WAL)
}Content copied to clipboard
Author
MOHAMMAD AZIM ANSARI
See also
Entries
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.