We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3cd8d commit bf8de6dCopy full SHA for bf8de6d
source/reference/command/shardingState.txt
@@ -13,7 +13,9 @@ shardingState
13
.. dbcommand:: shardingState
14
15
:dbcommand:`shardingState` is an admin command that reports if
16
- :binary:`~bin.mongod` is a member of a :term:`sharded cluster`.
+ :binary:`~bin.mongod` is a member of a :term:`sharded cluster`. To
17
+ run the command, you must run against the ``admin`` database. See
18
+ :method:`db.adminCommand()`.
19
20
:dbcommand:`shardingState` has the following prototype form:
21
0 commit comments