DEV Community

Discussion on: Should i use an ORM? When to use it? Which one?

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

I don't no a thing about nodejs, but here would be my framework to answer this question:

  • Do you have short term goals?
  • Is there one NodeJS CRM that is way more popular than all the others?

If you answer yes to those two questions, do use that CRM, you will get started faster.

If not, I would go for SQL, because knowing one CRM is fine, but after switching to 5-10 different CRMs, you start to wonder whether your time would not have been better invested into learning SQL, the lingua franca of relational database.

My favorite approach in the Kotlin world, is to embrace SQL but make it typesafe

github.com/cashapp/sqldelight
github.com/JetBrains/Exposed