Home »
MCQs »
MongoDB MCQs
MongoDB stores documents in ___
5. MongoDB stores documents in ___.
- Store
- Collections
- Indexes
- None of the mentioned above
Answer: B) Collections
Explanation:
MongoDB stores documents in collections. Collections in relational databases are analogous to tables in a relational database. A collection is a collection of MongoDB documents that have been grouped together. Documents within a collection can have a variety of different fields assigned to them. In a relational database system, a collection is equivalent to a table in terms of functionality. Within a single database, there is a collection of items.