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

Function IsUnshardedRemoteCollection

pg_documentdb/src/commands/update.c:557–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556
557inline static bool
558IsUnshardedRemoteCollection(MongoCollection *collection)
559{
560 return collection->shardKey == NULL &&
561 collection->shardTableName[0] == '\0';
562}
563
564
565static HeapTuple

Callers 1

PerformUpdateCoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected