

InterviewSolution
Saved Bookmarks
1. |
The $rename operator logically performs a _______ of both the old name and the new name.(a) $unset(b) $set(c) $Nested(d) None of the mentionedThis question was posed to me in an international level competition.The query is from MongoDB documents in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT option is (a) $unset Best explanation: If the field to RENAME does not EXIST in a DOCUMENT, $rename does nothing. |
|