Contains enumerations and utility functions related to SQLite modes.
Configuration class for SQLite database settings.
int wal_autocheckpoint
WAL auto-checkpoint threshold.
std::string db_path
Path to the SQLite database file.
int analysis_limit
Maximum number of rows to analyze.
AutoVacuumMode auto_vacuum_mode
SQLite auto-vacuum mode.
std::string table_name
Name of the database table.
JournalMode journal_mode
SQLite journal mode.
bool read_only
Whether the database is in read-only mode.
int user_version
User-defined version number for the database schema.
SynchronousMode synchronous
SQLite synchronous mode.
bool use_uri
Whether to use URI for opening the database.
bool use_async
Whether to use asynchronous write.
bool in_memory
Whether the database should be in-memory.
TransactionMode default_txn_mode
LockingMode locking_mode
SQLite locking mode.
int busy_timeout
Timeout in milliseconds for busy handler.
int page_size
SQLite page size.
Config()=default
Default constructor.
int cache_size
SQLite cache size (in pages).
SynchronousMode
SQLite synchronous modes enumeration.
@ FULL
Full synchronous mode.
TransactionMode
Defines SQLite transaction modes.
@ IMMEDIATE
Locks the database for writing at the start, allowing only read operations by others.
LockingMode
SQLite locking modes enumeration.
@ NORMAL
Normal locking mode.
JournalMode
SQLite journal modes enumeration.
@ DELETE_MODE
Delete journal mode.
AutoVacuumMode
SQLite auto-vacuum modes enumeration.