인터페이스: IndexDevModeConfig
정의 위치: packages/db/src/indexes/index-registry.ts:15
속성
collectionSizeThreshold
collectionSizeThreshold: number;
정의 위치: packages/db/src/indexes/index-registry.ts:19
컬렉션에 이 수보다 많은 항목이 있으면 인덱스를 제안합니다.
enabled
enabled: boolean;
정의 위치: packages/db/src/indexes/index-registry.ts:17
개발 모드 인덱스 제안을 활성화합니다.
onSuggestion
onSuggestion: (suggestion) => void | null;
정의 위치: packages/db/src/indexes/index-registry.ts:23
인덱스 제안을 위한 사용자 지정 핸들러입니다.
slowQueryThresholdMs
slowQueryThresholdMs: number;
정의 위치: packages/db/src/indexes/index-registry.ts:21
쿼리 실행 시간이 이 값(ms)보다 길면 인덱스를 제안합니다.