Explanation: When you query for a large file, GridFS automatically reassembles the smaller files into the original large file. 10.Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
A. x = ObjectIdAdd()
B. x = addObjectId()
C. x = ObjectId()
D. None of the mentioned
Answer:A
Explanation: When you query for a large file, GridFS automatically reassembles the smaller files into the original large file. 10.Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument
A. x = ObjectIdAdd() B. x = addObjectId() C. x = ObjectId() D. None of the mentioned
Explanation: ObjectId() constructor is used with no argument for new object. Sanfoundry Global Education & Learning Series – MongoDB.