3 ms·
There is also the completely denormalized solution of embedding all children into parents. This approach could work well when: - you don't access child docume
by alexpopescu 14y ago
There is also the completely denormalized solution of embedding all children into parents.
This approach could work well when:
- you don't access child documents directly
- you don't update child documents too often
- child documents are usually unique entities
As you can see from the rules above, this would not be a good solution for the Store -> Categories -> Products (contradicts 1. and 3.) But it could work with models like Content -> Votes, Blog -> Comments, etc.