Re:MongoDB 6 Released
by TylerE on Tuesday July 19, 2022 @10:48PM
(#32160767)
I don’t find the schema argument compelling at all. Postgres JSON columns are highly performant and queryable.
[ Parent
| on HN ]
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.