Preparing for system design interviews?  Try bugzed.com →

drizzle-gen

JSON →
library 1.0.3 ·javascript
verified Jun 5, 2026

drizzle-gen (v1.0.3) is a code-generation tool that automatically derives Drizzle ORM relations from your schema definitions. It parses your PostgreSQL or MySQL Drizzle schema files and generates a `.gen.ts` file with the correct `relations()` calls, saving you from manually writing and maintaining them. Key differentiators: zero runtime dependencies, runs as a one-off CLI or in watch mode, supports npx/pnpx/bunx/yarn dlx, and auto-updates on schema changes. However, it requires a single schema file path in `drizzle.config.ts` (list format not supported) and currently only works with PostgreSQL and MySQL. Ideal for Drizzle projects that want to avoid boilerplate relation code.

total hits 7
actors 2 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada