HomeEasy MongoDB: Queries III (MCQ) December 02, 2020 0 MongoDB: Queries III (MCQ) MongoDB: Queries III (MCQ) Which of the following are not valid MongoDB Queries?db.inventory.find( { $and: [ { price: { $ne: 1.99 } }, { price: { $exists: true } } ] } )db.inventory.find( { $nor: [ { price: 1.99 }, { price: { $exists: false } },{ sale: true }, { sale: { $exists: false } } ] } )db.inventory.find( { item: { $after: { $regex: /^p.*/ } } } )db.inventory.find({ location : { $near : [ -73.9667, 40.78 ], $maxDistance: 0.10 }
Post a Comment