Why not NoSQL
Course: SQL databases - chapter 2
You might’ve used MongoDB
It’s schemaless properties make it ideal to for bootstraping a project fast.
But as your app grows, this property makes it very easy for data to get curropted
What is schemaless?
Section titled “What is schemaless?”Different rows can have different schema (keys/types)

Problems?
Section titled “Problems?”- Can lead to inconsistent database
- Can cause runtime errors
- Is too flexible for an app that needs strictness
Upsides?
Section titled “Upsides?”- Can move very fast
- Can change schema very easily
💡 You might think that
mongoosedoes add strictness to the codebase because we used to define a schema there. That strictness is present at the Node.js level, not at the DB level. You can still put in erroneous data in the database that doesn’t follow that schema.