Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Checkpoint operation parameters

#define SQLITE_CHECKPOINT_PASSIVE 0
#define SQLITE_CHECKPOINT_FULL    1
#define SQLITE_CHECKPOINT_RESTART 2

These constants can be used as the 3rd parameter to sqlite3_wal_checkpoint_v2(). See the sqlite3_wal_checkpoint_v2() documentation for additional information about the meaning and use of each of these values.

See also lists of Objects, Constants, and Functions.