Specifies the threading mode for the database connection.
- Note
- The threading mode specified by these flags overrides the compile-time default. Refer to SQLite's documentation on sqlite3_open_v2 for details.
Enumerator |
---|
default_mode | Use the default threading mode. If you need single-thread mode, SQLite must be compiled accordingly. This option adds no specific threading flags.
|
multi_thread | The new database connection will use the multi-thread threading mode.
|
serialized | The new database connection will use the serialized threading mode.
|
Definition at line 72 of file docudb.hpp.
72 {
73
74
75
76
78
79
80
82
83
84
86 };
@ multi_thread
The new database connection will use the multi-thread threading mode.
@ default_mode
Use the default threading mode. If you need single-thread mode, SQLite must be compiled accordingly....
@ serialized
The new database connection will use the serialized threading mode.