mongosh
mongo
Docs Home → MongoDB Manual
getShardMap
getShardMap is an internal command that supports the sharding functionality.