So far, if you are used to traditional SQL-based database systems, you will no doubt be pleased to learn there are direct equivalences between basic data structures, such as fields, documents, and so forth. When it comes to data modeling, on the other hand, a radical departure in thought is needed. We will begin this discussion by comparing a MongoDB reference with an embedded document.
Data-modeling considerations
References
Using references (https://docs.mongodb.com/manual/reference/database-references/), it is possible to create a series of related collections in order to establish a normalized (https://docs.mongodb.com/manual/core/data-model-design/#normalized-data-models) data model. In the following diagram, a normalized...