Modeling Data Relationships

Learn how to identify and model data relationships in an application which is the second step of data modeling with MongoDB.

Modeling Data Relationships

Unit Overview

In this unit, you’ll identify types of relationships that exist between entities in an example application. Then, you’ll learn how to model relationships in MongoDB by embedding or referencing. You’ll also use a set of guidelines to help you determine whether you should embed or reference a relationship and you'll explore different options for embedding or referencing.

Prerequisites

Lessons in This Unit

  • Lesson 1 – Identifying Relationships
  • Lesson 2 – Embedding or Referencing
  • Lesson 3 – Modeling One-to-One
  • Lesson 4 – Modeling One-to-Many
  • Lesson 5 – Modeling Many-to-Many
  • 01.
    Lesson 1: Identifying Relationships
    • Learn
    • Practice
  • 02.
    Lesson 2: Embedding or Referencing
    • Learn
    • Practice
  • 03.
    Lesson 3: Modeling One-to-One
    • Learn
    • Practice
  • 04.
    Lesson 4: Modeling One-to-Many
    • Learn
    • Practice
  • 05.
    Lesson 5: Modeling Many-to-Many
    • Learn
    • Practice
  • 06.
    Conclusion
    • Learn
Sarah Evans | Senior Curriculum Engineer

Sarah Evans | Senior Curriculum Engineer

Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, she taught and developed curricula for developer bootcamps. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.

Eliza Spang | Senior Product Manager, Developer Education

Eliza Spang | Senior Product Manager, Developer Education

Eliza is a Senior Product Manager at MongoDB. Prior to joining MongoDB, she founded her own consulting company focused on building technical learning for a range of companies, from start-ups to Fortune 500 companies. She also worked with multiple universities including Northeastern University and MIT. Eliza believes learning unlocks opportunities and possibilities for everyone and is excited to be helping developers and others learn to use MongoDB.

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily is a Senior Curriculum Designer at MongoDB. Prior to MongoDB, Emily worked closely with professors at MIT and Columbia to design bootcamps in full stack development and data science at Emeritus. She also worked as an instructional designer on database and computer science learning experiences at Cengage. Emily loves learning about the everchanging tech space and is passionate about making these skills accessible to a global audience.

Vick Mena | Director, Curriculum

Vick Mena | Director, Curriculum

My name is Vick and I've been in the wild for over 25 years. I grew up at IBM working on the BIOS for the IBM eServer line in Austin, TX before moving to Wall St. I've worked on all phases of software development from low-level to middleware to UI but feel most comfortable in the middle. I also drank the devops kool-aid having moved a product line to AWS while at Dow Jones & Co with the help of an amazing team. I then pivoted into the secure space and worked on software/hardware reverse engineering. I always thought I'd eventually teach and this role lets me leverage all of my experience to lead this motley crew of passionate educators.

John McCambridge | University Curriculum Engineer

John McCambridge | University Curriculum Engineer

John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and educator who enjoys taking complex topics and making them digestible for the community.

Daniel Curran | Senior Curriculum Designer

Daniel Curran | Senior Curriculum Designer

Daniel is a Senior Curriculum Designer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specializing in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.

DP
October 24, 2023 8:05 AM


TR
October 24, 2023 1:02 AM


NV
October 17, 2023 6:28 AM


CH
October 13, 2023 6:55 PM

Lots of good info and pointers in this course.

VT
October 9, 2023 12:39 PM