MongoDB stores documents in ___

5. MongoDB stores documents in ___.

  1. Store
  2. Collections
  3. Indexes
  4. None of the mentioned above

Answer: B) Collections


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.

Comments and Discussions!

Load comments ↻

Copyright © 2024 All rights reserved.