Re:MongoDB 6 Released
by ammo1662 on Tuesday July 19, 2022 @11:20PM
(#32161001)
Not the JSON schema of one object, but the "data schema" of the whole project.
E.g. use nested document instead of FK to store 1 to 1 relationship. So you can take advantages of single document atomicity. Use array to store 1 to many relationship instead of an additional mapping table.
E.g. use nested document instead of FK to store 1 to 1 relationship. So you can take advantages of single document atomicity. Use array to store 1 to many relationship instead of an additional mapping table.