Bun Drizzle Integration

•
239
•

Integrates Drizzle ORM with Bun's native SQLite driver for high-performance, type-safe database schemas, queries, and migrations.

Bun Drizzle Integration equips Claude Code with deep knowledge for pairing Bun's high-performance built-in SQLite engine with Drizzle ORM. It provides best-practice patterns for defining type-safe schemas, managing relations, executing parameterized CRUD queries, and handling atomic transactions. Whether you are bootstrapping a new local SQLite database, generating and running schema migrations with drizzle-kit, or optimizing query performance through prepared statements, this skill helps developers write clean, robust, and lightning-fast database code natively on the Bun runtime.

主要功能

01Migration workflow management using drizzle-kit CLI commands
02Type-safe schema definitions, column typing, and relational mappings
03Atomic transactions and prepared statement optimization
04239 GitHub stars
05Native Bun SQLite integration using drizzle-orm/bun-sqlite
06Complete CRUD operation patterns with conflict handling and upserts

使用场景

01Building complex, relational queries with full TypeScript inference and high-performance execution
02Executing schema migrations, seeding, and database pushes safely during local development
03Bootstrapping a lightweight, embedded SQLite database for Bun microservices or desktop apps