function findIndexForField<TKey>(
collection,
fieldPath,
compareOptions?): IndexReader<TKey> | undefined;Defined in: packages/db/src/utils/index-optimization.ts:45
Finds an index that matches a given field path
TKey extends string | number
CollectionLike<any, TKey>
string[]
CompareOptions
IndexReader<TKey> | undefined