Getting Started
What is MongoDB?
Install / Config
C.R.U.D. Ops
Data Modeling
Database Mgmt
Data Modeling
One to Many Relationships: Overview
What is a "one to many" relationship?
.
One item maps directly to many related items
When would you use a "one to many" relationship?
.
Example: Customer --> Purchases
How can you build "one to many" relationships in MongoDB?
.
"Normalized" approach: multiple collections linked with common keys
Using an array of embedded documents
Using an array of DBRef documents
+
o
-