Method used within the AVL Btree
(a: ASNDBS, b: ASNDBS ) => boolean;
BTT.checkKeyEquality
checkKeyEquality = (a: number | string | Date, b: number | string | Date): boolean => {
return a === b;
}
Method used within the AVL Bt ree
(a: any, b: any ) => number;
BTT.compareKeys
compareKeys = (a: number | string, b: number | string): number => {
if (a < b) {
return -1;
} else if (a > b) {
return 1;
} else if (a === b) {
return 0;
} else {
throw new Error();
}
The path to the field to be indexed.
Set the index to unique or not
Generated using TypeDoc
Argument for index options.
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>;