Skip to content

Commit 8add742

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-25130-sharded-data-method (#311)
* DOCSP-25130-sharded-data-method * DOCSP-25130-sharded-data-method * DOCSP-25130-sharded-data-method * DOCSP-25130-sharded-data-method * DOCSP-25130-sharded-data-method * DOCSP-25130-sharded-data-method --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 25c80c6 commit 8add742

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/reference/methods.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,13 @@ Sharding Methods
13341334
- Returns a boolean to report if the :term:`balancer` is currently
13351335
enabled.
13361336

1337+
* - :method:`sh.getShardedDataDistribution()`
1338+
1339+
- Returns data distribution information for sharded collections.
1340+
``sh.getShardedDataDistribution()`` is a shell helper method for
1341+
the :pipeline:`$shardedDataDistribution` aggregation pipeline
1342+
stage.
1343+
13371344
* - :method:`sh.isBalancerRunning()`
13381345

13391346
- Returns a boolean to report if the :term:`balancer` process is

0 commit comments

Comments
 (0)