Documentation
¶
Overview ¶
Package checkpoint defines WAL checkpoint modes for SQLite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMode = fmt.Errorf("invalid checkpoint mode")
ErrInvalidMode is returned when a checkpoint mode is not recognised.
Functions ¶
This section is empty.
Types ¶
type Mode ¶
type Mode string
Mode defines the WAL checkpoint behaviour on close. These map directly to SQLite's PRAGMA wal_checkpoint modes.
Click to show internal directories.
Click to hide internal directories.