Drizzle ORM

orm.drizzle.team

Lightweight TypeScript ORM with SQL-like syntax, strong types, and excellent performance.

Overview

Drizzle ORM is a next-generation TypeScript ORM designed for performance and developer experience. It supports multiple databases including PostgreSQL, MySQL, SQLite, SingleStore, MSSQL, and CockroachDB, with special integrations for platforms like Neon, Vercel Postgres, Supabase, and PlanetScale.

The project is actively maintained by the Drizzle Team with contributions from a growing community. It provides comprehensive tooling including Drizzle Kit for migrations, Drizzle Studio for schema visualization, and integrations with popular validation libraries like Zod, Valibot, and TypeBox. Recent releases have added support for Row-Level Security (RLS), advanced query features, and seeding capabilities.

Key features

  • Multi-database support (PostgreSQL, MySQL, SQLite, MSSQL, CockroachDB)
  • Type-safe queries with TypeScript
  • Drizzle Kit for schema migrations
  • Drizzle Studio for schema visualization
  • Row-Level Security (RLS) support
  • Validation library integrations (Zod, Valibot, TypeBox)
  • Relational queries
  • Batch operations
  • Transaction support
  • Seeding with drizzle-seed
Pros
  • Lightweight and performant
  • Excellent TypeScript support and type safety
  • Comprehensive documentation
  • Active development and community
  • Multiple database dialect support
  • Built-in migration tooling
  • Schema visualization tools
  • Validation library integrations
Cons
  • Requires TypeScript knowledge
  • Smaller ecosystem compared to some alternatives
  • Learning curve for advanced features
Use this if
You need a modern, type-safe ORM for TypeScript projects with support for multiple databases and want excellent developer experience with comprehensive tooling.
Skip this if
You prefer JavaScript-only solutions without TypeScript, need an ORM with a larger ecosystem, or require a fully managed backend solution.

Best for

TypeScript developersBuilding type-safe database applicationsMulti-database projectsTeams needing schema migrationsServerless applicationsFull-stack development

Alternatives

PrismaTypeORMSequelizeKnex.jsMikroORM

Compare Drizzle ORM alternatives

More Database

Compare all
View PocketBase
PocketBaseFeatured

Open-source backend in a single file: database, auth, file storage, and admin UI.

View MariaDB
MariaDB

Community-developed SQL database fork of MySQL with compatible APIs and enterprise features.

View Microsoft Access
Microsoft Access

Desktop database and app builder for teams that need forms, reports, and relational data.

View Microsoft SQL Server
Microsoft SQL Server

Enterprise relational database for transactional workloads, analytics, and hybrid cloud.