Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.15 KB

10-orm.md

File metadata and controls

23 lines (13 loc) · 1.15 KB

💾 Database

ORM or not ?

This is a question that often comes up: should we use an ORM or not? As far as I am concerned, I try to do without it as much as possible when my need remains relatively simple (Nevertheless it is not always possible).

What is certain is that we must stop using Sequelize wrongly and through (having done several projects with it, I can guarantee you that it is a real horror).

Instead, I recommend you take a look at the following projects:

Note that if you use the Adonis.js framework they also have their own ORM, Lucid.

There are a whole bunch of packages available in the ecosystem, but I am not necessarily convinced by most of them (Afterwards there are surely some that I myself have not yet discovered).

Bonus: I would never use an ORM - Matteo Collina


⬅️ 💾 Database: Other databases | ➡️ 📡 MQTT (broker): Introduction