Conclusion / Learn

Press O for more options
1:47

Video Transcript (English)

Congratulations on completing this unit!

Now that you’re familiar with the document model, you’re ready to start experimenting with data in a MongoDB cluster.

Let's review what you learned.

First, you learned that documents are the smallest unit in the MongoDB hierarchy. Documents make up a collection, and collections make up a database. Documents allow us to store data together that is accessed together.

This structure is fundamentally different from the tables in a traditional relational database.

You also learned that MongoDB stores data in BSON format. We covered what BSON is, how it differs from JSON, and the data types that it supports.

BSON handles a variety of data types beyond those of JSON, which is one of the reasons the document model is so flexible.

After that, we got some hands-on practice with documents in Atlas. We created our first database, added two collections, and inserted a document in one of the collections.

Then we started to build a foundation in data modeling by covering some basic principles of how it works in MongoDB.

We discussed the types of relationships that can exist in your data, which are one-to-one, one-to-many, and many-to-many.

We also explored two approaches to data modeling in MongoDB, embedding and referencing, and when to use one over the other.

Now that you understand the basics of the MongDB document model, you’re ready to connect to your cluster and start working with your data.

Remember that you can also dive deeper into the MongoDB document model by checking out our documentation.

But we’re just scratching the surface. There’s a lot more to discover about MongoDB, so keep learning. See you next time!