checkpoint

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package checkpoint defines WAL checkpoint modes for SQLite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL