Class DocumentdbStorage

The StorageInterface is the base class, which all external storage handlers extend from.

Hierarchy

Constructors

Methods

  • This function handles the creating a new entry in the storage backend and on success returns the generated key.

    Returns

    The key of the created entity.

    Parameters

    • data: any

      The data to be stored.

    Returns string

  • This function handles the deletion of an existing stored entity in the storage backend, specified by a key.

    Parameters

    • key: string

      The key to use to delete the data.

    Returns void

  • This function handles the retrival of an existing entity from the storage backend, specified by a key.

    Returns

    The entity data held in external storage

    Parameters

    • key: string

      The key to use to store the data.

    Returns any

Generated using TypeDoc