NoSQL One-to-Many Relation Examples; Bound and Unbound Cases

What Are the Options to Properly Model 1-to-Many Scenarios and Which One is Right?

In NoSQL data modeling post, I have explained NoSQL data modeling and that there are three ways to model one to many relationships. In this post, I will list real-world examples of one to many relationship — both bound and unbound — in which application of different ways of modeling are possible (or not).

[Read More]

NoSQL Example of Separate Collections in One-to-One Relationship; Case of Specialization and Generalization

When and Why Should Reference Be Used to Link Documents in 1-1 Relation.

In my detailed post on NoSQL data modeling, I listed down ways of modeling NoSQL data (using mongodb collections). For one-to-one relation, usually, it is not apparent why one needs a separate collection instead of embedding everything in single document.

[Read More]

How to Draw NoSQL Data Model Diagram?

NoSQL ER Diagram

NoSQL, unlike SQL which has ER and class diagrams, has neither names nor constraints for data modeling diagrams. The obvious reason is the relaxed rules of NoSQL about relationships, which aim to get a developer started with minimum requirements.

[Read More]

NoSQL Data Modeling: 1 to 1, 1 to Many, Many to Many

In contrast to SQL, NoSQL data modelling allows multiple ways to model 1 to 1, 1 to many and many to many relationships. It does not enforce rules or favors a particular design. The only constraint is application requirements. Coming from SQL background, I struggled modeling Couchbase and MongoDb applications. [Read More]
When you purchase through links on, I may earn an affiliate commission.