Following the MongoDB Definitive Guide on chapter 14, I’m trying to create a Shard Cluster for testing, using the example with
ShardingTest() in mongoshell, but I always get
ReferenceError: ShardingTest is not defined.
My previous command was just
mongosh --nodb --norc.
I can’t find almost no information about this topic.
Any help would be much appreciated.