Methods
ensureIndex
-
Parameters
Returns Promise<null>
getDocs
- getDocs(options: Ioptions, ids: string | string[]): Promise<any[]>
-
Parameters
Returns Promise<any[]>
getIndices
- getIndices(): Promise<any>
insert
- insert(doc: any): Promise<any>
-
Parameters
Returns Promise<any>
insertIndex
- insertIndex(key: string, index: any[]): Promise<null>
-
Parameters
Returns Promise<null>
remove
- remove(query: any): Promise<number>
-
Parameters
Returns Promise<number>
removeIndex
- removeIndex(fieldName: string): Promise<null>
-
Parameters
Returns Promise<null>
saveIndex
- saveIndex(fieldName: string): Promise<null>
-
Parameters
Returns Promise<null>
search
- search(fieldName: string, value: any): Promise<string[]>
-
Parameters
-
fieldName: string
-
value: any
Returns Promise<string[]>
update
- update(query: any, operation: any, options: IupdateOptions): Promise<any>
-
Parameters
-
query: any
-
operation: any
-
Returns Promise<any>
Array String Number, Date, Boolean, -> symbol was redacted. : Used for keys BTT.ASNDBS = Array|string|number|Date|boolean|null
-> redacted symbol, Number, Date, Boolean, String, Array : Used for values
BTT.SNDBSA = Array<{}|any[]|string|number|Date|boolean|null>;