SQLITE_OPEN_READONLY

CAPI3REF: Flags For File Open Operations

Values

ValueMeaning
SQLITE_OPEN_READONLY0x00000001

Ok for sqlite3_open_v2()

SQLITE_OPEN_READWRITE0x00000002

Ok for sqlite3_open_v2()

SQLITE_OPEN_CREATE0x00000004

Ok for sqlite3_open_v2()

SQLITE_OPEN_DELETEONCLOSE0x00000008

VFS only

SQLITE_OPEN_EXCLUSIVE0x00000010

VFS only

SQLITE_OPEN_AUTOPROXY0x00000020

VFS only

SQLITE_OPEN_URI0x00000040

Ok for sqlite3_open_v2()

SQLITE_OPEN_MEMORY0x00000080

Ok for sqlite3_open_v2()

SQLITE_OPEN_MAIN_DB0x00000100

VFS only

SQLITE_OPEN_TEMP_DB0x00000200

VFS only

SQLITE_OPEN_TRANSIENT_DB0x00000400

VFS only

SQLITE_OPEN_MAIN_JOURNAL0x00000800

VFS only

SQLITE_OPEN_TEMP_JOURNAL0x00001000

VFS only

SQLITE_OPEN_SUBJOURNAL0x00002000

VFS only

SQLITE_OPEN_SUPER_JOURNAL0x00004000

VFS only

SQLITE_OPEN_NOMUTEX0x00008000

Ok for sqlite3_open_v2()

SQLITE_OPEN_FULLMUTEX0x00010000

Ok for sqlite3_open_v2()

SQLITE_OPEN_SHAREDCACHE0x00020000

Ok for sqlite3_open_v2()

SQLITE_OPEN_PRIVATECACHE0x00040000

Ok for sqlite3_open_v2()

SQLITE_OPEN_WAL0x00080000

VFS only

SQLITE_OPEN_NOFOLLOW0x01000000

Ok for sqlite3_open_v2()

Meta