Answer Posted / Pardeep Kumar
In MongoDB, namespaces are used to organize collections and other database objects (like indexes) under a unique identifier. Each collection must belong to a single namespace, which consists of the database name followed by a dot (.) and the collection name (e.g., mydb.mycollection). Namespaces help prevent conflicts between collections with similar names across different databases.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers