Document Relationships
On this page
MongoDB's flexible data model gives you multiple options to map relationships between different entities in your schema.
Generally, your choice of data model depends on whether you want to embed related data in the same collection or use references to connect related data that exists in separate collections. Before you choose a relationship pattern, review Embedded Data Versus References to understand the advantages of each approach.
Get Started
These pages show examples of different data relationships and how to apply them in a MongoDB schema: