Many-to-Many/One Relationships are Simple in SQL, but Hard in NoSQL
A comparison of relationship modeling between SQL and NoSQL.
Published in
7 min readJan 4, 2024
· Intro
· One-to-Many Relationship
∘ Referencing Pattern
∘ Embedded Pattern
∘ Partial Embedded Pattern
· Many-to-Many Relationship
∘ Intermediate Collection
∘ Bidirectional and Unidirectional Many-to-Many Relationships
· Conclusion