drizzle-orm
Installation
SKILL.md
Drizzle ORM
Overview
Drizzle ORM is a lightweight, performant, TypeScript-first ORM with zero dependencies. It is headless (not a data framework), SQL-like at its core, and serverless-ready by design. Drizzle supports PostgreSQL, MySQL, SQLite, SingleStore, MSSQL, and CockroachDB.
Key principles:
- Headless ORM — a library, not a framework; build your project however you want
- SQL-like — if you know SQL, you know Drizzle; zero to no learning curve
- Relational Queries API — optional
db.queryAPI for nested relational data (outputs exactly 1 SQL query) - Serverless-ready — 0 dependencies, dialect-specific, works with all major database drivers
- Full TypeScript — schema definitions, query results, and insert types are all inferred