drizzle

Document Drizzle ORM schema definition, query building, and migrations.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/Solace-Stephane/solbot --skill drizzle-solace-stephane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/Solace-Stephane/solbot/tree/main/skills/lb-drizzle-skill
Command: npx skills add https://github.com/Solace-Stephane/solbot --skill drizzle-solace-stephane

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides instant access to the complete Drizzle ORM documentation, helping developers quickly find answers to questions about schema definition, querying, migrations, and database integrations.

Core Features & Use Cases

  • Schema Definition: Covers column types, relations, and constraints for various databases.
  • Query Builder: Detailed guides on select, insert, update, delete, joins, and transactions.
  • Migrations & Integrations: Explains Drizzle Kit, database connections (PostgreSQL, MySQL, SQLite), and integrations with platforms like Neon, Supabase, and PlanetScale.
  • Use Case: A developer is unsure how to set up a many-to-many relationship in Drizzle. They can ask this Skill for guidance on the references/relations/ section.

Quick Start

Use the drizzle skill to find documentation on connecting to Neon.

Frequently Asked Questions about drizzle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define a many-to-many relationship in Drizzle ORM?

To define a many-to-many relationship in Drizzle ORM, you configure junction tables with foreign key references and use the relations builder to map connections between schema entities. This Skill provides detailed guides on configuring these complex relations.

What's the best way to run database migrations with Drizzle Kit?

The best way to run database migrations with Drizzle Kit is by using its CLI commands to generate SQL migration files from your schema changes and applying them to your target database. This Skill documents the Drizzle Kit workflow and connection setup.

Does Drizzle ORM work with serverless platforms like Neon and Supabase?

Yes, Drizzle ORM works with serverless platforms like Neon, Supabase, and PlanetScale. This Skill includes detailed integration guides and connection examples for adapting your schema definitions and queries to these serverless environments.

How do I build dynamic SQL queries and custom types in TypeScript?

You can build dynamic SQL queries and custom types in TypeScript by utilizing Drizzle's query builder functions and custom type definitions. This Skill details these advanced features for dynamic query building and caching strategies across multiple SQL dialects.

Can I use Drizzle ORM for both SQLite and PostgreSQL schema definitions?

Yes, you can use Drizzle ORM for both SQLite and PostgreSQL schema definitions. This documentation covers column types, relations, and constraints specifically tailored for various databases including PostgreSQL, MySQL, and SQLite.