Model Relationships Between Documents
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
- Model One-to-One Relationships with Embedded Documents
- Presents a data model that uses embedded documents to describe one-to-one relationships between connected data.
- Model One-to-Many Relationships with Embedded Documents
- Presents a data model that uses embedded documents to describe one-to-many relationships between connected data.
- Model One-to-Many Relationships with Document References
- Presents a data model that uses references to describe one-to-many relationships between documents.