6 Rules of Thumb for MongoDB Schema Design: Part 2
Posted by: The MongoDB NoSQL Database Blog,
on 05 Jun 2014 |
View original | Bookmarked: 0 time(s)
By William Zola, Lead Technical Support Engineer at MongoDBThis is the second stop on our tour of modeling One-to-N relationships in MongoDB. Last time I covered the three basic schema designs: embedding, child-referencing, and parent-referencing. I also covered the two factors to consider when picking one of these designs:Will the entities on the N side of the One-to-N ever need to stand alone?What is the cardinality of the relationship: is it one-to-few; one-to-many; or one-to-squillions?With...