Variable constantsConst

constants: { SQLITE_OPEN_AUTOPROXY: number; SQLITE_OPEN_CREATE: number; SQLITE_OPEN_DELETEONCLOSE: number; SQLITE_OPEN_EXCLUSIVE: number; SQLITE_OPEN_EXRESCODE: number; SQLITE_OPEN_FULLMUTEX: number; SQLITE_OPEN_MAIN_DB: number; SQLITE_OPEN_MAIN_JOURNAL: number; SQLITE_OPEN_MEMORY: number; SQLITE_OPEN_NOFOLLOW: number; SQLITE_OPEN_NOMUTEX: number; SQLITE_OPEN_PRIVATECACHE: number; SQLITE_OPEN_READONLY: number; SQLITE_OPEN_READWRITE: number; SQLITE_OPEN_SHAREDCACHE: number; SQLITE_OPEN_SUBJOURNAL: number; SQLITE_OPEN_SUPER_JOURNAL: number; SQLITE_OPEN_TEMP_DB: number; SQLITE_OPEN_TEMP_JOURNAL: number; SQLITE_OPEN_TRANSIENT_DB: number; SQLITE_OPEN_URI: number; SQLITE_OPEN_WAL: number; SQLITE_PREPARE_NORMALIZE: number; SQLITE_PREPARE_NO_VTAB: number; SQLITE_PREPARE_PERSISTENT: number }

Constants from sqlite3.h

This list isn't exhaustive, but some of the ones which are relevant

Type declaration

  • SQLITE_OPEN_AUTOPROXY: number

    Value

    0x00000020

  • SQLITE_OPEN_CREATE: number

    Allow creating a new database

    Value

    0x00000004

  • SQLITE_OPEN_DELETEONCLOSE: number

    Value

    0x00000008

  • SQLITE_OPEN_EXCLUSIVE: number

    Value

    0x00000010

  • SQLITE_OPEN_EXRESCODE: number

    Value

    0x02000000

  • SQLITE_OPEN_FULLMUTEX: number

    Value

    0x00010000

  • SQLITE_OPEN_MAIN_DB: number

    Value

    0x00000100

  • SQLITE_OPEN_MAIN_JOURNAL: number

    Value

    0x00000800

  • SQLITE_OPEN_MEMORY: number

    Value

    0x00000080

  • SQLITE_OPEN_NOFOLLOW: number

    Value

    0x01000000

  • SQLITE_OPEN_NOMUTEX: number

    Value

    0x00008000

  • SQLITE_OPEN_PRIVATECACHE: number

    Value

    0x00040000

  • SQLITE_OPEN_READONLY: number

    Open the database as read-only (no write operations, no create).

    Value

    0x00000001

  • SQLITE_OPEN_READWRITE: number

    Open the database for reading and writing

    Value

    0x00000002

  • SQLITE_OPEN_SHAREDCACHE: number

    Value

    0x00020000

  • SQLITE_OPEN_SUBJOURNAL: number

    Value

    0x00002000

  • SQLITE_OPEN_SUPER_JOURNAL: number

    Value

    0x00004000

  • SQLITE_OPEN_TEMP_DB: number

    Value

    0x00000200

  • SQLITE_OPEN_TEMP_JOURNAL: number

    Value

    0x00001000

  • SQLITE_OPEN_TRANSIENT_DB: number

    Value

    0x00000400

  • SQLITE_OPEN_URI: number

    Value

    0x00000040

  • SQLITE_OPEN_WAL: number

    Value

    0x00080000

  • SQLITE_PREPARE_NORMALIZE: number

    Value

    0x02

  • SQLITE_PREPARE_NO_VTAB: number

    Value

    0x04

  • SQLITE_PREPARE_PERSISTENT: number

    Value

    0x01

Generated using TypeDoc