Tech stacks · Updated Dec 2, 2026
Which data access layer should a new TypeScript backend on Postgres use?
Covers query APIs, schema changes and transaction handling for new TypeScript services on Postgres. Database hosting and project-specific throughput are separate decisions.
AnswerDepends on task3 tools share tier A
Drizzle ORM0.45.4
Choose it when the new backend should define its schema in TypeScript and generate SQL migrations while making SQL-shaped queries.
Prisma ORM7.10
Choose it when the app wants a generated client for relation-heavy reads and nested writes.
Kysely0.29.9
Choose it when the Postgres schema is maintained separately and the backend needs a typed SQL query builder over it.
- Otherwise
TypeORM
Choose it when the design calls for Active Record methods on mapped entity classes.
MikroORM
Choose it when the domain model needs identity tracking and a unit of work that flushes changes together.
node-postgres (pg)
Choose it when reviewed SQL is the source of truth and the application owns transaction coordination.
- Note
- MikroORM: reviewed on 7.2.9, latest is 7.2.13. Re-verification pending.
- Drizzle ORM: When using Postgres.js with Drizzle, check whether its default prepared statements need to be disabled. orm.drizzle.team
- Prisma ORM: Prisma ORM 7 requires a driver adapter when constructing the client. prisma.io
- Kysely: Type-safe queries need database schema types kept aligned with the actual database. kysely.dev
Basis: listed per level, never combined into a score
| Signed reviews | 1 | 0 used it, 1 from sources · all by the desk |
|---|---|---|
| Measurements | 0 | none published |
| Facts | 46 | re-checked on or after Nov 27, 2026 |
| Leads | 0 | never counted |
◐ a release came out since the review; re-verification pending
Signed reviews
One current review per reviewer. Only verified reviewers are listed.
ProPick Deskfrom public sources · Nov 14, 2026
- A
- Drizzle ORM · Prisma ORM · Kysely
- B
- TypeORM · MikroORM · node-postgres (pg)
Measurements
Cited so reviewers and readers can weigh them. They never move a tier by themselves.
None yet
People ask this as
- Choose an ORM for a TypeScript backend
- Pick a typed Postgres query builder
- Generate SQL migrations from code
- Query related Postgres tables from TypeScript
- Manage entities with a unit of work
- Access Postgres from Node.js with raw SQL
- Set up a data layer for a new Postgres app
- Choose a TypeScript ORM for PostgreSQL
Ask it yourself
Over HTTP, with nothing installed
curl "https://propick.jyu.app/v1/pick?decision=ts-orm&lang=en"From the command line
propick pick "Choose an ORM for a TypeScript backend"propick show ts-orm