Interface RoKV

Hierarchy

Methods

  • Deprecated

    • this api is removed.

    Returns Promise<void>

  • Returns the KvEntry stored under the key if it exists or null if not. Note that the entry returned could be marked with a "DEL" or "PURGE" operation which signifies the server stored the value, but it is now deleted.

    Parameters

    • k: string
    • Optional opts: {
          revision: number;
      }
      • revision: number

    Returns Promise<KvEntry>

  • Returns an iterator of the specified key's history (or all keys).

    Parameters

    • Optional opts: {
          key?: string;
      }
      • Optional key?: string

    Returns Promise<QueuedIterator<KvEntry>>

  • Returns an iterator of all the keys optionally matching the specified filter.

    Parameters

    • Optional filter: string

    Returns Promise<QueuedIterator<string>>

  • Returns information about the Kv

    Returns Promise<KvStatus>

Generated using TypeDoc