Answer Posted / Vijay Pratap Singh
In MongoDB, there is no strict concept of a master or primary key like in traditional relational databases. Instead, each collection can have one document that serves as the _id field, which uniquely identifies each document within the collection. The _id field can be automatically generated by MongoDB, or it can be manually provided by the user.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers