Choosing by Relationship: One-to-Few, One-to-Many, Many-to-Many

How many documents sit on each side of a relationship points to its model; embed a few, reference from the many side, never keep an array that grows without end, and link many-to-many with an array of ids.

By

Updated

Cheat sheet: Choosing by Relationship: One-to-Few, One-to-Many, Many-to-Many
Category
MongoDB
Level
Journeyman
Tags
Many-to-Many Relationship, mongodb, nosql, One-to-Few Relationship, One-to-Many Relationship, Unbounded Array