Elestia Open Source Ratings
8.1

Drizzle ORM

A strong pick. 1st of 10 ORMs and query builders.

Drizzle ORM is a TypeScript-first SQL ORM and query builder. It is small, has no dependencies, needs no code generation step and runs well on serverless and edge platforms. It is one of the two leading picks for new TypeScript projects on SQL databases. Its limits are a v1 that is still a release candidate and a large backlog of open issues.

Best for: TypeScript teams that know SQL and want typed queries that read like SQL, with no generate step, on Postgres, MySQL or SQLite, including serverless and edge runtimes.

WebsiteGitHubnpm

Scores

Overall8.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

For a new TypeScript project on SQL, it is a strong pick and arguably the momentum leader. It has good types, a small footprint, funded maintainers and very fast growth. It stays below 9 because v1 is not yet stable, the issue backlog is large, and migrations are rougher than Prisma's. Prisma is the safer choice for teams that want a more managed ORM, and Kysely for those who want a pure query builder.

GPT-6.2 Sol: 8.2, likely 7.2 to 9.2

Drizzle is a strong pick for a new TypeScript SQL app that needs explicit queries, inferred types, and schema-driven migrations. Prisma is a better fit for teams that rely heavily on nested writes, and Kysely has stronger compile-time checks for complex SQL. Full-time backing and growing adoption help, while migration friction and the pending v1 transition keep Drizzle short of a category-wide default.

Needed by many7.5

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Most JS/TS backends and full-stack apps need to read and write a database, and SQL databases are the most common case. Drizzle covers the main SQL dialects on every major runtime. It does not cover MongoDB, which keeps it below the top of the scale.

GPT-6.2 Sol: 7.0, likely 6.0 to 8.0

PostgreSQL, SQLite, and MySQL are widely used, and Drizzle serves teams building SQL-backed apps across frameworks and runtimes. Its SQL-first API is most useful to teams comfortable with SQL. The survey measures database use across developers, so the share of JavaScript and TypeScript teams that need this particular style is an estimate.

Helps a lot8.1

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has strong inferred types, a thin layer over SQL, prepared statements, low overhead and a tiny bundle, and it introspects existing databases. Its limits are migrations that are less mature than Prisma's, more manual nested writes, and reports that parts of the query builder are less strictly type-safe than Kysely. Most of the v1 work, such as the new relations API and migration engine, is still in release candidates.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

Stable 0.45.4 combines schema inference, composable SQL, nested reads, and generated migrations through Drizzle Kit. A PostgreSQL benchmark measured lower overhead than Prisma, TypeORM, and Sequelize for its workload. Kysely catches more query errors at compile time, and users report trouble with parallel migrations. Coding agents use Drizzle in real pull requests, but the study does not measure correctness and users report confusion over version-specific examples.

Holds up over time7.2

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

PlanetScale hired the whole core team in March 2026, which funds full-time work. Releases are frequent: 35 in the last year, plus v1 release candidates. Against that, v1 has taken a long time, the issue and pull request backlog is large, and the v1 upgrade breaks code. The publishing block in mid-2026, caused by npm's metadata size limit, points to a rough release process.

GPT-6.2 Sol: 7.4, likely 6.2 to 8.6

PlanetScale hired the core team in March 2026 to work on Drizzle full time, and the stable line received a patch in October. The collector recorded 35 repository commits and five npm versions over the year, with roughly 1,400 issues and 685 pull requests open. The repository release count also covers companion packages and previews. The backlog and reported v1 migration problems leave the upgrade and support outlook uncertain.

Used widely7.5

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Downloads grew about 19x in a year, against a median of 4.1x. At 190M in 4 weeks it now leads the category, ahead of Prisma's 98M. Some of that likely comes from tools that install it as a dependency. Its 2,870 dependent repositories are far below Prisma's 43,615, which shows a smaller base of past projects but strong momentum in new ones.

GPT-6.2 Sol: 6.9, likely 5.4 to 8.4

Four-week installs rose from 9.95 million to 190.3 million, a 19.1× gain against the 4.1× catalog median and Prisma's 5.0×. The repository has 36,330 stars and drew more Bluesky posts than any listed peer. An independent sample of active public JS and TS repositories also ranked Drizzle first among ORMs. Ecosyste.ms found 2,870 dependent repos versus Prisma's 43,615, so incomplete coverage, repeat installs, and framework dependencies leave the number of projects choosing it directly uncertain.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 19.1× against a 4.1× catalog median.
  • dependents repos, dependents packages, peers: 2,870 repos and 111 packages tracked, with far fewer repos than Prisma.
  • github stars, bluesky posts: 36,330 repository stars and 23 Bluesky posts.
  • github.com/FarazKelhini/stack-pulse: October rolling sample ranked Drizzle first among ORMs in eligible active public repositories.
  • payloadcms.com/docs/database/postgres: Payload's PostgreSQL adapter brings Drizzle into apps indirectly.
Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

PlanetScale backs it, Cloudflare and database vendors document it, Thoughtworks placed it in its Assess ring, and many independent comparisons recommend it. I could not confirm current survey satisfaction figures, and much of the write-up material is blog content, so the score stays below 8.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

Payload uses Drizzle for its PostgreSQL adapter, and OpenStatus depends on it for its data layer. Cloudflare and Supabase publish integration guides, and a recent PostgreSQL benchmark found low overhead. Drizzle rated 4.11 out of 5 in the 2023 State of Databases survey, but that result came from just 44 ratings. Current retention across a larger developer population remains hard to judge.

Safe7.7

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has zero runtime dependencies and an Apache-2.0 licence. There was one high-severity SQL injection advisory, in identifier escaping, and it was patched in 0.45.2 and the v1 betas. That risk only affected apps that passed untrusted input into sql.identifier() or .as(). No Scorecard data is available, and the habit of publishing many builds suggests the release process is not tightly controlled.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.3

The Apache-2.0 core has no required npm dependencies, and applications install their chosen driver separately. The single high-severity SQL injection advisory was fixed in 0.45.2 before public disclosure, so 0.45.4 includes the fix. The GitHub Actions workflow uses npm trusted publishing and the package enables provenance. The missing OpenSSF Scorecard and unclear number of people with release access limit confidence.

Good

  • Schemas are plain TypeScript, and types are inferred on save without a generate step.
  • The runtime is tiny and has zero npm dependencies, so it fits serverless and edge runtimes such as Workers, D1 and Durable Objects.
  • It offers an API that reads like SQL and a relational query API, and covers Postgres, MySQL, SQLite, LibSQL/Turso and other dialects.
  • Since March 2026 the full-time core team is funded through PlanetScale, and adoption is growing fastest in the category.

Bad

  • v1 has been in beta or release candidate through 2026, with breaking API changes, while the stable latest tag is still 0.45.x.
  • The backlog is large: about 1,400 open issues and 685 open pull requests, and users report small fixes left unanswered for months.
  • Drizzle Kit migrations are less mature than Prisma Migrate. Users report generated SQL that needs manual fixes.
  • Nested writes and complex relations take more manual code than in Prisma, and it does not support MongoDB.

The numbers

npm downloads, 4 weeks
190M ×19 in a year
GitHub stars
36k
Commits, 12 months
35
npm version
0.45.4 Oct 2026
Versions, 12 months
5
Advisories, 24 months
1 of 1 ever
OpenSSF Scorecard
None
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (drizzle-team/drizzle-orm), npm (drizzle-orm), OSV and the OpenSSF Scorecard.

ORMs and query builders

  1. 8.1Drizzle ORM
  2. 8.0Kysely
  3. 7.8Mongoose
  4. 7.5Prisma
  5. 7.3MikroORM
  6. 6.7ZenStack
  7. 6.4TypeORM
  8. 5.9Knex.js
  9. 5.3Objection.js
  10. 5.0Sequelize
Compare all 10 on six scores