bbas-devicer - v0.2.1
    Preparing search index...

    Function createSqliteBbasStorage

    • Create a synchronous BbasStorage backed by a SQLite database via better-sqlite3.

      Pass ':memory:' for an ephemeral in-process store (useful for testing) or a file-system path for persistent storage.

      Parameters

      • dbPath: string = ':memory:'

        SQLite file path or ':memory:'. Default: ':memory:'

      • maxPerDevice: number = 50

        Maximum snapshots to retain per device. Default: 50

      Returns BbasStorage