Explanation:The db.collection.find() method returns a cursor. To access the documents, you need to iterate the cursor. 10. Which of the following key is used to denote uniqueness in the collection ?
A. _id
B. id
C. id_
D. None of the mentioned
Answer:A
Explanation:The db.collection.find() method returns a cursor. To access the documents, you need to iterate the cursor. 10. Which of the following key is used to denote uniqueness in the collection ?
A. _id B. id C. id_ D. None of the mentioned
Explanation:_id is the default key provided by mongodb itself. Sanfoundry Global Education & Learning Series - MongoDB.