tarlatan
    Preparing search index...

    One connection to a SQLite database file.

    Index
    • Opens filename. With create a missing file is created; with readonly it is opened for reading only and never created.

      Parameters

      • filename: string
      • Optionaloptions: { create?: boolean; readonly?: boolean }

      Returns Database

    inTransaction: boolean

    Whether a transaction is open on this connection.

    • Runs one or more SQL statements with no parameters.

      Parameters

      • sql: string

      Returns void

    • Calls sqlite3_file_control on the main database with operation op and the integer value; returns SQLite's result code, 0 on success.

      Parameters

      • op: number
      • value: number

      Returns number