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

    Hierarchy (View Summary)

    Index
    _inited: boolean = true
    adapterOpts: AdapterOpts = ...
    capabilities: { indexes: boolean; persistent: boolean; transactions: boolean } = ...
    fileCpu: CustomFileCpu
    memory: Map<string, any[]>
    smartExecutor: boolean = true
    version: string = ...
    • Parameters

      • key: string

      Returns any[]

    • Parameters

      • key: string
      • data: any[]

      Returns void

    • Parameters

      • ...args: any[]

      Returns Promise<void>

    • Parameters

      Returns Promise<number>

    • Parameters

      • collection: string

      Returns Promise<boolean>

    • 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>

    • Returns Promise<string[]>

    • Parameters

      • ...args: any[]

      Returns Promise<void>

    • Parameters

      • collection: string

      Returns Promise<boolean>

    • Parameters

      • collection: string

      Returns Promise<boolean>

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

      Parameters

      Returns Promise<DataInternal | null>

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

      Parameters

      Returns Promise<DataInternal[]>

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

      Parameters

      Returns Promise<DataInternal | null>