Drizzle is a lightweight SQL ORM designed for modern TypeScript projects, offering type-safe query building and migration support to simplify database interactions.
Core features & highlights
- Type safety: Provides compile-time type inference and autocompletion to reduce runtime errors.
- Flexible query builder: Balances readability and composability, with the option to fall back to raw
SQLwhen needed. - Migrations and transactions: Built-in
migrationsand transaction support to ease schema evolution and ensure consistency. - Compatible with major databases: Works with PostgreSQL, MySQL, SQLite, and other common SQL engines.
Use cases & target users
- Well-suited for backend services, full-stack TypeScript apps, Serverless, and microservices.
- Targeted at engineers and teams who prioritize type safety, a strong developer experience (DX), and maintainability.
Key advantages
- Lightweight and efficient: Low runtime overhead, suitable for performance-sensitive environments.
- Great developer experience: Strong typing, autocompletion, and a clear API speed up development.
- Seamless integration with existing SQL: Enjoy ORM convenience while using raw SQL for complex queries.
Learn more: https://orm.