Open History to see the last commit
Defined in: packages/db/src/indexes/index-registry.ts:15
Properties#
collectionSizeThreshold#
collectionSizeThreshold: number;
Defined in: packages/db/src/indexes/index-registry.ts:19
Suggest indexes when collection has more than this many items
enabled#
enabled: boolean;
Defined in: packages/db/src/indexes/index-registry.ts:17
Enable dev mode index suggestions
onSuggestion#
onSuggestion: (suggestion) => void | null;
Defined in: packages/db/src/indexes/index-registry.ts:23
Custom handler for index suggestions
slowQueryThresholdMs#
slowQueryThresholdMs: number;
Defined in: packages/db/src/indexes/index-registry.ts:21
Suggest indexes when queries take longer than this (ms)