Explanation:In MongoDB, documents stored in a collection require a unique _id field that acts as a primary key. 3. Which of the field is reserved for use as a primary key ?
A. _id
B. _uid
C. _uuid
D. All of the mentioned
Answer:A
Explanation:In MongoDB, documents stored in a collection require a unique _id field that acts as a primary key. 3. Which of the field is reserved for use as a primary key ?
A. _id B. _uid C. _uuid D. All of the mentioned
Explanation:ID value value must be unique in the collection, is immutable, and may be of any type other than an array. 4. In the mongo shell, you can access the creation time of the ObjectId, using the ______ method..