@photostructure/sqlite
    Preparing search index...

    Variable StatementSyncConst

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

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

    const stmt = db.prepare('SELECT * FROM users WHERE id = ?');
    const user = stmt.get(123);
    stmt.finalize();