Hierarchy

  • MemoryAdapter

Implements

Constructors

Properties

hashStore: Record<string, any>
mode: "normal"
options: Partial<MemoryAdapterOptions>

Methods

  • Loads a serialized database from its in-memory store. (Loki persistence adapter interface function)

    Memberof

    LokiMemoryAdapter

    Parameters

    • dbname: any

      name of the database (filename/keyname)

    • callback: any

      adapter callback to return load result to caller

    Returns void

  • Saves a serialized database to its in-memory store. (Loki persistence adapter interface function)

    Memberof

    LokiMemoryAdapter

    Parameters

    • dbname: any

      name of the database (filename/keyname)

    • dbstring: any
    • callback: any

      adapter callback to return load result to caller

    Returns void

Generated using TypeDoc