OpenMode

Modes to open SQLite3 databases in

Values

ValueMeaning
roSQLITE_OPEN_READONLY

read-only

rwSQLITE_OPEN_READWRITE

reading & writing

createSQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE

reading & writing, create if not exists

memoryOpenMode.create | SQLITE_OPEN_MEMORY

in-memory

multiThreadindMultiDBSQLITE_OPEN_NOMUTEX

“multi-thread” mode, separate threads threads may not share database connections

multiThreadingSerializedSQLITE_OPEN_FULLMUTEX

“serialized” mode, threads can share database connections

Meta