Google News
logo
MongoDB - Quiz(MCQ)
Which of the field is reserved for use as a primary key?
A)
_uid
B)
_id
C)
_uuid
D)
All of the above

Correct Answer :   _id


Explanation : ID value value must be unique in the collection, is immutable, and may be of any type other than an array.

Advertisement