• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Big Data | Hadoop by
Q:
What is Collection in MongoDB

1 Answer

0 votes
by

collection is a group of documents. If a document is the MongoDB analog of a row in a relational database, then collection is the analog to a table.

Collections have dynamic schemas. This means that the documents within a single collection can have any number of different shapes. For example, both the following documents can be stored in a single collection.

Related questions

0 votes
asked Oct 12, 2019 in Big Data | Hadoop by RShastri
0 votes
asked Oct 12, 2019 in Big Data | Hadoop by RShastri
...