drizzle-orm
Installation
SKILL.md
Drizzle ORM
Use the project's installed Drizzle version and existing dialect/driver patterns. Do not introduce a second relation API, migration workflow, or connection adapter.
Reference map
references.md is the bundled index of official Drizzle documentation. Read only the section needed for details not covered here; use the linked official page or Context7 for current API syntax.
| Need | references.md section |
|---|---|
| Setup, dialect, provider | Official Entry Points; Getting Started; Connections |
| Tables, columns, constraints, inferred types | Schema & Types |
defineRelations, legacy relations |
Relations |
| Selects, joins, CRUD, operators, RQB | Querying |
drizzle-kit, generated SQL, migration and team workflow |
Migrations |
| Transactions, batching, performance | Advanced |
| Zod, Valibot, ArkType | Validation |
| Seeds and data generators | Seeding |
| Version upgrades | Upgrade |