WriteAheadLog
Exposes the Write-Ahead Log APIs of a database connection.
Functions
Link copied to clipboard
Causes any database on the connection to automatically checkpoint after committing a transaction if there are frameCount or more frames in the write-ahead log file. Any WriteAheadLogHook previously passed to setHook is replaced.
Link copied to clipboard
abstract fun checkpoint(mode: SqliteCheckpointMode = SqliteCheckpointMode.PASSIVE, database: String? = null): WriteAheadLogCheckpointResult
Link copied to clipboard
Sets the callback that is invoked each time data is committed to a database in wal mode.