Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardMongoDBmongos query routingSingle-choice MCQ

With a hashed shard key on `_id`, a developer issues `db.coll.find({_id: {$gt: ObjectId('...')}})` on a sharded collection. What happens at routing time?

db.coll.find({ _id: { $gt: ObjectId('64f0c2a1...') } })