prorm API Reference
    Preparing search index...

    Class UnqliteStore

    UnqliteStore wraps an unqlite client and exposes its embedded KV surface: put/get/del (mapped to store/fetch/delete), batch for multi-key writes, and list for key iteration.

    Implements

    Index
    name: "unqlite" = 'unqlite'

    The name of the store (e.g. 'mongodb', 'redis', 'dynamodb')

    library: "unqlite" = 'unqlite'

    The client library being used

    • Writes (or overwrites) the value at key (UnQLite store).

      Parameters

      • key: string
      • value: unknown

      Returns Promise<void>

    • Reads the value at key (UnQLite fetch).

      Parameters

      • key: string

      Returns Promise<unknown>

    • Deletes the value at key (UnQLite delete).

      Parameters

      • key: string

      Returns Promise<void>

    • Applies a list of put/del operations sequentially.

      Parameters

      • ops: UnqliteBatchOp[]

      Returns Promise<void>

    • Lists all keys by iterating records with UnQLite's each cursor.

      Returns Promise<string[]>