Google News
logo
MongoDB - Quiz(MCQ)
MongoDB supports the creation of user-defined ascending/descending indexes on a ______ field of a document.
A)
Single
B)
Compound
C)
Non Unique
D)
None of the above

Correct Answer :   Single


Explanation : If applications do not specify a value for _id the driver or the mongod will create an _id field with an ObjectId value.

Advertisement