Mongo

What is a document? What is a collection?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • A document is a record in MongoDB, which is stored in BSON (Binary JSON) format and is the basic unit of data in MongoDB.
    • A collection is a group of related documents stored in a single database in MongoDB.