66 static const std::array<std::string, 6> data = {
74 return data[
static_cast<size_t>(mode)];
81 static const std::array<std::string, 6> data = {
87 return data[
static_cast<size_t>(mode)];
94 static const std::array<std::string, 6> data = {
98 return data[
static_cast<size_t>(mode)];
105 static const std::array<std::string, 6> data = {
110 return data[
static_cast<size_t>(mode)];
117 static const std::array<std::string, 3> data = {
122 return data[
static_cast<size_t>(mode)];
std::string to_string(const JournalMode &mode)
Converts JournalMode enum to string representation.
SynchronousMode
SQLite synchronous modes enumeration.
@ NORMAL
Normal synchronous mode.
@ EXTRA
Extra synchronous mode.
@ FULL
Full synchronous mode.
TransactionMode
Defines SQLite transaction modes.
@ IMMEDIATE
Locks the database for writing at the start, allowing only read operations by others.
@ DEFERRED
Waits to lock the database until a write operation is requested.
TempStore
SQLite temporary storage modes enumeration.
@ DEFAULT
Default temporary storage behavior.
@ FILE
Temporary storage using a file.
LockingMode
SQLite locking modes enumeration.
@ EXCLUSIVE
Exclusive locking mode.
JournalMode
SQLite journal modes enumeration.
@ TRUNCATE
Truncate journal mode.
@ MEMORY
Memory journal mode.
@ PERSIST
Persist journal mode.
@ DELETE_MODE
Delete journal mode.
@ WAL
Write-ahead logging (WAL) mode.
AutoVacuumMode
SQLite auto-vacuum modes enumeration.
@ INCREMENTAL
Incremental auto-vacuuming.