MCPcopy Create free account
hub / github.com/documentdb/documentdb / CollectionIdGetIndexes

Function CollectionIdGetIndexes

pg_documentdb/src/metadata/index.c:789–796  ·  view source on GitHub ↗

* CollectionIdGetIndexes returns List of IndexDetails of the indexes that collection * with `collectionId` has. * * Parameters- * uint64 collectionId: collectionId to get indexes for * bool excludeIdIndex: Whether or not to include _id default index in the result * bool enableNestedDistribution: Whether or not to allow nested distribution for the query: * Note: Only to be used in non-data

Source from the content-addressed store, hash-verified

787 * Note: Only to be used in non-data critical paths.
788 */
789List *
790CollectionIdGetIndexes(uint64 collectionId, bool excludeIdIndex,
791 bool enableNestedDistribution)
792{
793 bool includeIndexBuilds = true;
794 return CollectionIdGetIndexesCore(collectionId, excludeIdIndex,
795 enableNestedDistribution, includeIndexBuilds);
796}
797
798
799/*

Callers 4

reindex_concurrentlyFunction · 0.85
MergeWorkerResultsFunction · 0.85

Calls 1

Tested by

no test coverage detected