Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyMongoDBdeleteOne deleteManySingle-choice MCQ

After running this, what is in the returned result object?

const res = db.users.deleteOne({ email: "x@y.com" }) // where no document has that email