drizzle-queries
OfficialWrite type-safe, composable database queries
Authortheslashdojo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines writing safe, type-checked SQL queries and nested relational loads by providing idiomatic Drizzle ORM patterns, examples, and notes that reduce runtime errors and developer guesswork.
Core Features & Use Cases
- Type-safe query builder: Idiomatic SQL-like chaining for selects, inserts, updates, deletes with full TypeScript inference.
- Relational API: Load nested relations with db.query.* and with clauses to simplify common nested data patterns.
- Transactions, prepared statements & dialect notes: Guidance for atomic transactions, prepared statements, returning/upsert semantics, and cross-dialect considerations for PostgreSQL, SQLite, and MySQL.
- Use Case: Backend engineers building paginated APIs, transactional imports, or analytical aggregations can rely on these patterns to implement robust, type-safe data access.
Quick Start
Use the drizzle-queries skill to select recent users with their published posts and return up to 10 results including each author's basic profile.
Dependency Matrix
Required Modules
drizzle-ormpostgres
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: drizzle-queries Download link: https://github.com/theslashdojo/dojo/archive/main.zip#drizzle-queries Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.