Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyMongoDBinsertOne insertManySingle-choice MCQ

Using the mongo shell, this insertMany runs on an empty collection. What is the outcome?

db.nums.insertMany([ { _id: 1, v: "a" }, { _id: 1, v: "b" }, { _id: 2, v: "c" } ])