Which statement best describes the query below? db.col1.findAndModify({ query: {"name": "val1"}, update: { $inc: { "subObj.field1": 1 } });
Correct Answer: Returns a single document where name is val1 and field1 is unmodified in the returned document
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More MongoDB MCQ Questions