Basic Schema Design Patterns
Inheritance Pattern
To apply the Inheritance Pattern to documents in a collection, you can use the aggregation framew...
Computed Pattern
Use Case: running a function frequently degrade performance, for example: calculate the average ...
Approximation Pattern
When data is changing constantly, and exact statistic is not critical, we can use approximations ...
Extended Reference Pattern
Joins are expensive so store some must have data into the child to avoid joins. This creates dat...
Schema Versioning Pattern
add a schema_version field to the document To Handle multiple versions: application handles bo...