not sure about the best but I have used kysely + kysely codegen and have no problem plus the DX is good Answer from saltmurai on reddit.com
🌐
Reddit
reddit.com › r/node › best orm for postgresql in node.js?
r/node on Reddit: Best ORM for PostgreSQL in Node.js?
September 3, 2024 -

I have experience working with MongoDB using Mongoose in Node.js, but now I'm planning to switch to PostgreSQL. I’m not sure which ORM to use for PostgreSQL. Can anyone suggest the best ORM for working with PostgreSQL in Node.js?

🌐
Medium
medium.com › @sysglobalsolutionsblog › conexión-a-una-base-de-datos-postgreql-con-node-js-y-sequelize-d93b0546e4cc
ORM en acción 💪: Conectando Node.js con PostgreSQL mediante Sequelize 🐘🤩 | by SysGlobal | Software Consulting | Medium
February 19, 2025 - Sequelize es un ORM para Node.js que se utiliza para interactuar con bases de datos relacionales, como MySQL, PostgreSQL, SQLite, y MSSQL, utilizando objetos y JavaScript en lugar de consultas SQL directas. Sequelize fue diseñado para ser utilizado en entornos de Node.js y es ampliamente utilizado en aplicaciones web y proyectos de backend escritos en este lenguaje. Sequelize a su vez, facilita la definición de modelo de datos, la validación, las relaciones e implementación de lógica de negocio en aplicaciones Nodejs.
🌐
Medium
medium.com › @diego.coder › orm-in-action-connecting-node-js-to-postgresql-using-sequelize-104c08f1719f
ORM in action 💪: Connecting Node.js to PostgreSQL using Sequelize 🐘🤩 | by Code & Chill | Medium
February 19, 2025 - Sequelize is an ORM for Node.js that is used to interact with relational databases, such as MySQL, PostgreSQL, SQLite, and MSSQL, using objects and JavaScript instead of direct SQL queries.
🌐
Sequelize
sequelize.org
Sequelize | Feature-rich ORM for modern TypeScript ...
Sequelize is a modern TypeScript and Node.js ORM for Oracle, Postgres, MySQL, MariaDB, SQLite and SQL Server, and more. Featuring solid transaction support, relations, eager and lazy loading, read replication and more.
🌐
Prisma
prisma.io › orm
Prisma ORM | Type-Safe ORM for Node.js and TypeScript
Prisma ORM gives you intuitive data modeling, automated migrations, and type-safety across PostgreSQL, MySQL, SQLite, MongoDB, and more.
🌐
DEV Community
dev.to › miku86 › nodejs-postgresql-orm-overview-3mcn
NodeJS & PostgreSQL: ORM Overview - DEV Community
September 14, 2019 - The server talks with the ORM and the ORM talks to the database. The ORM creates objects, that map to the relational data. It handles your queries, so you don't have to write native SQL, you can query the database with your application language. sequelize: Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server
Find elsewhere
🌐
GitHub
github.com › typeorm › typeorm
GitHub - typeorm/typeorm: TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more.
TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more. - typeorm/typeorm
Starred by 36.6K users
Forked by 6.6K users
Languages   TypeScript 99.8% | JavaScript 0.2%
🌐
DEV Community
dev.to › msnmongare › building-a-simple-nodejs-express-backend-using-postgresql-and-an-orm-beginner-guide-56lo
Building a Simple Node.js + Express Backend Using PostgreSQL and an ORM (Beginner Guide) - DEV Community
January 2, 2026 - Make sure PostgreSQL is running on port 5432. const { Sequelize } = require("sequelize"); const sequelize = new Sequelize( "simple_express_orm", "postgres", "YOUR_PASSWORD", { host: "localhost", dialect: "postgres", port: 5432, logging: false } ); module.exports = sequelize;
🌐
EverSQL
eversql.com › best-orm-for-node-js
SQL Optimizer | PostgreSQL Optimizer | MySQL Optimizer
Smart AI-based algorithms will optimize your PostgreSQL and MySQL queries by automatically re-writing and indexing them.
🌐
npm
npmjs.com › package › @mikro-orm › postgresql
@mikro-orm/postgresql - npm
April 1, 2026 - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL, SQLite (including libSQL), MSSQL and Oracle databases.
      » npm install @mikro-orm/postgresql
    
Published   Apr 10, 2026
Version   7.0.10
🌐
LogRocket
blog.logrocket.com › home › node.js orms: why you shouldn’t use them
Node.js ORMs: Why you shouldn’t use them - LogRocket Blog
June 4, 2024 - However, as the most popular Node.js ORM and with around 1.35 million weekly downloads at the time of writing this article, Sequelize puzzles us with its popularity. Although we made valid points in the previous section, we have to note that 1.35 million people cannot be wrong weekly. So let’s look at some of the reasons one might use Sequelize in the first place: Sequelize can layer over a wide range of databases such as Oracle, Postgres, MySQL, MariaDB, SQLite, DB2, Microsoft SQL Server, and Snowflake
🌐
Artoon Solutions
artoonsolutions.com › home › the benefits of using orm with node js: a comprehensive guide
Understanding the Power of ORM with Node js
May 20, 2024 - Works with various databases (e.g., PostgreSQL, MySQL, SQLite, MongoDB, SQL Server). Use Cases: Well-suited for projects that require seamless database setup and management. ... Objection.js is an SQL-friendly ORM Nodejs.
🌐
YouTube
youtube.com › beyond fireship
I tried 8 different Postgres ORMs - YouTube
Let's compare 8 ways to work with SQL databases in a JavaScript project like Node.js or Next.js. Analyze the pros and cons of libraries and ORMs that can run...
Published   May 25, 2023
Views   407K
🌐
AppSignal
blog.appsignal.com › 2021 › 07 › 21 › how-to-get-started-with-prisma-orm-for-nodejs-and-postgresql.html
How to Get Started with Prisma ORM for Node.js and PostgreSQL | AppSignal Blog
August 9, 2023 - Node.js works with some great ORM libraries like Sequelize, TypeORM, and Prisma. In this post, we will learn how to use Prisma with the Express.js framework and PostgreSQL database.
🌐
Better Stack
betterstack.com › community › guides › scaling-nodejs › prisma-orm
Getting Started with Prisma ORM for Node.js and PostgreSQL | Better Stack Community
If your database has no tables yet, read https://pris.ly/d/getting-started 2. Set the provider of the datasource block in schema.prisma to match your database: postgresql, mysql, sqlite, sqlserver, mongodb or cockroachdb. 3. Run prisma db pull to turn your database schema into a Prisma schema. 4. Run prisma generate to generate the Prisma Client. You can then start querying your database. 5. Tip: Explore how you can extend the ORM with scalable connection pooling, global caching, and real-time database events.
🌐
npm
npmjs.com › package › orm
orm - npm
March 13, 2025 - If using Nodejs >= 14 & Postgres, you must use pg driver >= 8.1.
      » npm install orm
    
Published   Mar 13, 2025
Version   8.0.1
🌐
Medium
medium.com › @marekpiechut › postgres-as-document-store-or-you-dont-need-orm-in-node-js-177714e6567a
Postgres as document store, or “you don’t need ORM in Node.js” | by Marek Piechut | Medium
July 12, 2024 - Postgres is a capable DBMS, also with NoSQL workloads. In this post I want to share with you how I'm using Postgres as my document store for OLTP workloads.
🌐
Render
render.com › docs › deploy-prisma-orm
Deploy a Node.js app with Prisma ORM and PostgreSQL – Render Docs
Deploy a Node.js application that uses Prisma ORM together with a Render PostgreSQL database.