FP-Devicer - v1.6.1
    Preparing search index...

    Function createSqliteAdapter

    • Create a StorageAdapter backed by a SQLite database file via Drizzle ORM (drizzle-orm/better-sqlite3).

      The adapter creates the fingerprints table automatically on the first call to init(). Candidate pre-filtering uses a lightweight SQL WHERE clause on JSON fields before running full in-process confidence scoring.

      Parameters

      • dbUrlOrClient: string

        Path to the SQLite database file, e.g. "./fp.db".

      Returns StorageAdapter

      A StorageAdapter instance. Call init() before any other method.

      const adapter = createSqliteAdapter('./fingerprints.db');
      await adapter.init();