Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Index<T>

Type parameters

  • T: Record<keyof T, any>

Hierarchy

  • Index

Constructors

Properties

Methods

Constructors

constructor

  • new Index(indexedFields: Array<keyof T>): Index

Properties

Private indexedFields

indexedFields: Array<keyof T>

Private indexes

indexes: object

Type declaration

Private items

items: Array<T> = []

Methods

clear

  • clear(): void

find

  • find(filter?: undefined | object): T[]

insert

  • insert(item: T): T

Generated using TypeDoc