package
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Jan 16, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package checkpoint defines WAL checkpoint modes for SQLite.
Mode defines the WAL checkpoint behavior on close.
These map directly to SQLite's PRAGMA wal_checkpoint modes.
const (
None Mode = ""
Passive Mode = "PASSIVE"
Full Mode = "FULL"
Restart Mode = "RESTART"
Truncate Mode = "TRUNCATE"
)
Checkpoint modes for use with the Checkpoint() builder method.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.