Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SyncKeyValueROTransaction

A read-only transaction for a synchronous key value store.

Hierarchy

Index

Methods

Methods

get

  • get(key: string): Buffer | undefined
  • Retrieves the data at the given key. Throws an ApiError if an error occurs or if the key does not exist.

    Parameters

    • key: string

      The key to look under for data.

    Returns Buffer | undefined

    The data stored under the key, or undefined if not present.

Generated using TypeDoc