E
E
Evgeny Zalivadny2021-01-22 20:44:03
ORM
Evgeny Zalivadny, 2021-01-22 20:44:03

Which ORM should be mastered and used as the main one in commercial projects for a Node.js developer in 2021?

From what I've found so far, the choice falls on Sequelize or TypeORM .
For Sequelize, you can roll over TypeScript support using npmjs.com/package/sequelize-typescript , while TypeORM promises support out of the box.

Maybe there are better solutions?

What to use? First of all, of course, to work with MySQL and PostgreSQL, their support is required.
Projects will use GraphQL with might and main, and it needs type generation from database models, forwarded to Resolvers (sequelize-typescript and graphql-codegen can do this, for example).
You need an active community and LTS (long-term support).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timofey Dergachev, 2021-01-28
@Nordihan

https://www.prisma.io/

spoiler
prisma vs typeorm

P
Philip, 2021-07-06
@Philipo

TypeORM

spoiler
prisma vs typeorm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question