Methods
insert
- insert(doc: any): Promise<any>
-
Parameters
Returns Promise<any>
insertMany
- insertMany(key: ASNDBS, indices: any[]): Promise<null>
-
Parameters
-
key: ASNDBS
-
indices: any[]
Returns Promise<null>
remove
- remove(doc: any): Promise<any>
-
Parameters
Returns Promise<any>
search
- search(key: ASNDBS): Promise<SNDBSA>
-
Parameters
Returns Promise<SNDBSA>
searchRange
- searchRange(range: IRange): Promise<SNDBSA>
-
Parameters
Returns Promise<SNDBSA>
toJSON
- toJSON(): Promise<string>
updateKey
- updateKey(key: ASNDBS, newKey: ASNDBS): Promise<any>
-
Parameters
-
key: ASNDBS
-
newKey: ASNDBS
Returns Promise<any>
Index interface used for the datastore indices Inherits types from binary-type-tree
Array String Number, Date, Boolean, -> symbol was redacted. ASNDBS = Array|string|number|Date|boolean|null
-> redacted symbol, Number, Date, Boolean, String, Array
SNDBSA = Array<{}|any[]|string|number|Date|boolean|null>;