@photostructure/sqlite
    Preparing search index...

    Interface SqliteModule

    The main SQLite module interface.

    interface SqliteModule {
        constants: SqliteConstants;
        DatabaseSync: new (
            location?: string | Buffer<ArrayBufferLike> | URL,
            options?: DatabaseSyncOptions,
        ) => DatabaseSyncInstance;
        Session: new () => Session;
        StatementSync: new (
            database: DatabaseSyncInstance,
            sql: string,
            options?: StatementOptions,
        ) => StatementSyncInstance;
    }
    Index

    Properties

    constants: SqliteConstants

    SQLite constants for various operations and flags.

    DatabaseSync: new (
        location?: string | Buffer<ArrayBufferLike> | URL,
        options?: DatabaseSyncOptions,
    ) => DatabaseSyncInstance

    The DatabaseSync class represents a synchronous connection to a SQLite database. All operations are performed synchronously, blocking until completion.

    Session: new () => Session

    The Session class for recording database changes. This class should not be instantiated directly; use Database.createSession() instead.

    StatementSync: new (
        database: DatabaseSyncInstance,
        sql: string,
        options?: StatementOptions,
    ) => StatementSyncInstance

    The StatementSync class represents a synchronous prepared statement. This class should not be instantiated directly; use Database.prepare() instead.