

InterviewSolution
Saved Bookmarks
1. |
Point out the correct statement.(a) ObjectIds are small, likely unique, fast to generate, and ordered(b) ObjectIds are large, likely unique, and ordered(c) ObjectIds values consists of 18-byte(d) All of the mentioned |
Answer» The correct choice is (a) ObjectIds are small, likely unique, fast to generate, and ordered Explanation: In MongoDB, documents stored in a collection require a unique _id field that acts as a primary key. |
|