Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyMongoDBcomparison operators $gt $inSingle-choice MCQ

A collection has documents where some have a 'discount' field and some do not. What does this query return?

db.products.find({ discount: { $ne: 10 } })