Docs Home → Develop Applications → MongoDB Manual
getShardVersion
On this page
getShardVersion
getShardVersion
is a command that supports sharding functionality and is not part of the stable client facing API.
Compatibility
This command is available in deployments hosted in the following environments:
MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
Note
This command is not supported in M0, M2, and M5 clusters or in serverless instances. For more information, see Unsupported Commands.
MongoDB Enterprise: The subscription-based, self-managed version of MongoDB
MongoDB Community: The source-available, free-to-use, and self-managed version of MongoDB