함수: findIndexForField()
function findIndexForField<TKey>(
collection,
fieldPath,
compareOptions?):
| IndexInterface<TKey>
| undefined;
정의 위치: packages/db/src/utils/index-optimization.ts:45
지정된 필드 경로와 일치하는 인덱스를 찾습니다
타입 매개변수
TKey
TKey extends string | number
매개변수
collection
CollectionLike<any, TKey>
fieldPath
string[]
compareOptions?
CompareOptions
반환값
| IndexInterface<TKey>
| undefined