![]()  | 
  
    SQLite Containers
    
   | 
 
Configuration class for SQLite database settings. More...
#include <Config.hpp>
Public Member Functions | |
| Config ()=default | |
| Default constructor.   | |
Public Attributes | |
| std::string | db_path | 
| Path to the SQLite database file.   | |
| std::string | table_name | 
| Name of the database table.   | |
| bool | read_only = false | 
| Whether the database is in read-only mode.   | |
| bool | use_uri = false | 
| Whether to use URI for opening the database.   | |
| bool | in_memory = false | 
| Whether the database should be in-memory.   | |
| bool | use_async = false | 
| Whether to use asynchronous write.   | |
| int | user_version = -1 | 
| User-defined version number for the database schema.   | |
| int | busy_timeout = 1000 | 
| Timeout in milliseconds for busy handler.   | |
| int | page_size = 4096 | 
| SQLite page size.   | |
| int | cache_size = 2000 | 
| SQLite cache size (in pages).   | |
| int | analysis_limit = 1000 | 
| Maximum number of rows to analyze.   | |
| int | wal_autocheckpoint = 1000 | 
| WAL auto-checkpoint threshold.   | |
| JournalMode | journal_mode = JournalMode::DELETE_MODE | 
| SQLite journal mode.   | |
| SynchronousMode | synchronous = SynchronousMode::FULL | 
| SQLite synchronous mode.   | |
| LockingMode | locking_mode = LockingMode::NORMAL | 
| SQLite locking mode.   | |
| AutoVacuumMode | auto_vacuum_mode = AutoVacuumMode::NONE | 
| SQLite auto-vacuum mode.   | |
| TransactionMode | default_txn_mode = TransactionMode::IMMEDIATE | 
Configuration class for SQLite database settings.
Definition at line 11 of file Config.hpp.
      
  | 
  default | 
Default constructor.
| int sqlite_containers::Config::analysis_limit = 1000 | 
Maximum number of rows to analyze.
Definition at line 23 of file Config.hpp.
| AutoVacuumMode sqlite_containers::Config::auto_vacuum_mode = AutoVacuumMode::NONE | 
SQLite auto-vacuum mode.
Definition at line 28 of file Config.hpp.
| int sqlite_containers::Config::busy_timeout = 1000 | 
Timeout in milliseconds for busy handler.
Definition at line 20 of file Config.hpp.
| int sqlite_containers::Config::cache_size = 2000 | 
SQLite cache size (in pages).
Definition at line 22 of file Config.hpp.
| std::string sqlite_containers::Config::db_path | 
Path to the SQLite database file.
Definition at line 13 of file Config.hpp.
| TransactionMode sqlite_containers::Config::default_txn_mode = TransactionMode::IMMEDIATE | 
Default transaction mode.
Definition at line 29 of file Config.hpp.
| bool sqlite_containers::Config::in_memory = false | 
Whether the database should be in-memory.
Definition at line 17 of file Config.hpp.
| JournalMode sqlite_containers::Config::journal_mode = JournalMode::DELETE_MODE | 
SQLite journal mode.
Definition at line 25 of file Config.hpp.
| LockingMode sqlite_containers::Config::locking_mode = LockingMode::NORMAL | 
SQLite locking mode.
Definition at line 27 of file Config.hpp.
| int sqlite_containers::Config::page_size = 4096 | 
SQLite page size.
Definition at line 21 of file Config.hpp.
| bool sqlite_containers::Config::read_only = false | 
Whether the database is in read-only mode.
Definition at line 15 of file Config.hpp.
| SynchronousMode sqlite_containers::Config::synchronous = SynchronousMode::FULL | 
SQLite synchronous mode.
Definition at line 26 of file Config.hpp.
| std::string sqlite_containers::Config::table_name | 
Name of the database table.
Definition at line 14 of file Config.hpp.
| bool sqlite_containers::Config::use_async = false | 
Whether to use asynchronous write.
Definition at line 18 of file Config.hpp.
| bool sqlite_containers::Config::use_uri = false | 
Whether to use URI for opening the database.
Definition at line 16 of file Config.hpp.
| int sqlite_containers::Config::user_version = -1 | 
User-defined version number for the database schema.
Definition at line 19 of file Config.hpp.
| int sqlite_containers::Config::wal_autocheckpoint = 1000 | 
WAL auto-checkpoint threshold.
Definition at line 24 of file Config.hpp.