ip-devicer
    Preparing search index...

    Function createSqliteIpStorage

    • Create an IpStorage backed by a SQLite database via better-sqlite3.

      Pass ':memory:' (the default) for an in-process store with no disk I/O, or a file-system path for persistent storage.

      Parameters

      • dbPath: string = ':memory:'

        Path to the SQLite file, or ':memory:'. Default: ':memory:'

      • maxPerDevice: number = 50

        Maximum snapshots to retain per deviceId. Default: 50

      Returns IpStorage