@wxn0brp/db-core
    Preparing search index...

    Class MemoryAction

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _inited: boolean = true
    fileCpu: CustomFileCpu
    memory: Map<string, any[]>
    numberId: boolean = false

    Methods

    • Parameters

      • key: string

      Returns any[]

    • Parameters

      • key: string
      • data: any[]

      Returns void

    • Find entries in the specified database based on search criteria.

      Parameters

      Returns Promise<Data[]>

    • Find the first matching entry in the specified database based on search criteria.

      Parameters

      Returns Promise<Data>

    • Parameters

      • ...args: any[]

      Returns Promise<void>

    • Remove entries from the specified database based on search criteria.

      Parameters

      Returns Promise<boolean>

    • Remove the first matching entry from the specified database based on search criteria.

      Parameters

      Returns Promise<boolean>

    • Update entries in the specified database based on search criteria and an updater function or object.

      Parameters

      Returns Promise<boolean>

    • Update the first matching entry in the specified database based on search criteria and an updater function or object.

      Parameters

      Returns Promise<boolean>