- Reference >
- Database Commands >
- Sharding Commands >
- listShards
listShards¶
On this page
Definition¶
Example¶
The following example returns the list of shards:
db.getSiblingDB("admin").runCommand( { listShards: 1 } )
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.