DEV Community

Discussion on: 5 quick rules on modeling your MongoDB's schemas

Collapse
 
mlynn profile image
Michael Lynn

Nice, succinct tips, Manuel! When it comes to MongoDB Document Structure: Data that will be accessed together should be stored together. This means (as you've stated) that as it relates to embedding - do it where possible - but look at your application's read/write profile to inform these decisions.