NoSQL Relationships
Fig 1: NoSQL Relationships Architecture
NoSQL doesn’t mean no relationships. It just means we model them differently than robust SQL joins.
Handling Project Data
Section titled “Handling Project Data”In this chapter, we level up our Project feature from “single collection CRUD” to “portfolio-grade data modeling” by adding powerful relational concepts:
- Embedded Data A project can have an array of simple string Tags nested directly inside it.
- Referenced Data A project can be assigned to a specific reusable Category document stored in a different collection.
By the end of this module, we will implement an admin edit form that fully supports creating models and selecting relational assignments, linking it all cleanly in the database and rendering it on our views.
Extra Bits & Bytes
Section titled “Extra Bits & Bytes”Starting Demo Repo - Continuing from Update and Delete lesson.
⏭ Next: Modeling Data Relationships
Section titled “⏭ Next: Modeling Data Relationships”Before writing code, we need to decide how to relate our data together in MongoDB.