by mgfist · 3y ago · 0 comments
You choose relational models when anomalies are unacceptable and non-relational models when anomalies are acceptable.
Yes it has that, but that's an anti-pattern. What I'm referring to is schema design. In Mongo you denormalize and store relational data in the same document as references. In SQL you a record might be split up into 3 tables, in Mongo that should all live in the same document. If you can't embed and need lookups, you should avoid Mongo and other nosql DBs