#8484th of 275 in Backends, databases and hosting
drizzle-orm
TypeScript ORM with SQL-like and relational queries for Postgres, MySQL and SQLite
- Stars
- 36.3k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- TypeScript
33,777 on 28 Apr 202636,300 on 17 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Drizzle is a TypeScript ORM where you declare SQL schemas in code and query through either a SQL-like builder or a relational query API. It has zero dependencies, is about 7.4kb minified and gzipped, and runs on Node.js, Bun, Deno, Cloudflare Workers and in browsers. Drizzle Kit generates or applies migrations, and Drizzle Studio browses data. It contains no AI features.
Who it is for: TypeScript developers who want a typed SQL layer for app backends
Strengths
- Zero dependencies, about 7.4kb gzipped, tree shakeable
- Covers PostgreSQL, MySQL and SQLite, including Neon, Turso, PlanetScale and Cloudflare D1
- Runs on Node.js, Bun, Deno, edge runtimes and browsers without a Rust binary
- Drizzle Kit handles migrations and Drizzle Studio gives a data browser
Weaknesses
- Not an AI project; it is a database layer only
- No auth, storage or hosting, so it is not a full backend
- Only PostgreSQL, MySQL and SQLite families are supported
- Migrations and Studio need the separate Drizzle Kit tooling
What it needs
- no GPU
- Needs PostgreSQL, MySQL or SQLite database
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- [BUG]: effect-postgres 1.0.0-rc.5 can't encode empty array params, and bigint mode returns strings ↗ (opens in a new tab)2 reactions
- [BUG]: drizzle-kit v1 drops NOT NULL from SQLite TEXT primary keys — but SQLite allows NULL in non-INTEGER PRIMARY KEY columns (regression vs 0.31) ↗ (opens in a new tab)2 reactions
- [BUG]: MySQL rc.6 cast codecs break selectDistinct().orderBy() on datetime columns ↗ (opens in a new tab)1 reactions
- drizzle-kit pull writes an extensionless schema import that NodeNext ESM projects reject ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- [BUG]: Unable to provide sql value in $onUpdate ↗ (opens in a new tab)29 reactions · closed 25 Nov 2025Fixed by Updates for `main` branch ↗ (opens in a new tab)
- [BUG]: timestamp with mode string is returned as Date object instead of string -- when using Bun SQL (drizzle-orm/bun-sql) ↗ (opens in a new tab)10 reactions · closed 25 Nov 2025Fixed by Updates for `main` branch ↗ (opens in a new tab)
- [BUG]: Changes to pg driver in 0.45.0 cause startup error on Cloudflare Workers ↗ (opens in a new tab)9 reactions · closed 10 Dec 2025Fixed by Fixed pg-native Pool detection in node-postgres transactions breaking in environments with forbidden `require()` ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 275| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 94 out of 100 |
| 2 | coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH | 93 out of 100 |
| 3 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 93 out of 100 |
| #4 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 93 out of 100 |
| #5 | medusaNode.js commerce platform with modular products, carts, orders and payments | 93 out of 100 |