drizzle-orm

Provide type-safe SQL queries and migrations for PostgreSQL, MySQL, and SQLite.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/The-Entourage-AI-Development/trade-certify --skill drizzle-orm-the-entourage-ai-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-orm
Source: https://github.com/The-Entourage-AI-Development/trade-certify/tree/main/.claude/skills/drizzle-orm
Command: npx skills add https://github.com/The-Entourage-AI-Development/trade-certify --skill drizzle-orm-the-entourage-ai-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Drizzle-ORM provides a type-safe, SQL-first ORM for TypeScript, enabling compile-time type inference and zero runtime overhead to simplify database access.

Core Features & Use Cases

  • Type-safe schema -> query mapping with Drizzle's TypeScript-first approach.
  • Migrations with drizzle-kit and SQL-based migrations for precise control.
  • Edge/runtime friendly: runs with zero dependencies in the client bundle for serverless environments.
  • Use case: Build robust data-access layers with strong types, fast queries, and easy migrations.

Quick Start

Install drizzle-orm and drizzle-kit, configure your TypeScript project, and run your first type-safe query against your database.

Frequently Asked Questions about drizzle-orm

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

FAQPage Schema
How do I use a type-safe SQL ORM in TypeScript with zero runtime overhead?

A type-safe SQL ORM in TypeScript with zero runtime overhead provides compile-time type inference for database queries without adding bundle size, ensuring reliable data access in serverless and edge environments.

Can I run type-safe database queries in edge runtime environments?

Yes, you can run type-safe database queries in edge runtime environments using a zero-dependency ORM that executes without adding runtime overhead to the client bundle, making it suitable for serverless deployments.

How do I manage database migrations for PostgreSQL and MySQL in TypeScript?

You manage database migrations for PostgreSQL, MySQL, and SQLite by using an integrated migration kit that generates SQL-based migration files, providing precise control over schema changes.

What is the best way to write raw SQL queries with type inference in TypeScript?

The best way to write raw SQL queries with type inference in TypeScript is using an SQL-first ORM that offers first-class raw SQL support, automatically inferring return types at compile time.

Does this TypeScript ORM support PostgreSQL, MySQL, and SQLite?

Yes, this TypeScript ORM supports PostgreSQL, MySQL, and SQLite, allowing you to build robust data-access layers with type-safe schema mapping and fast queries across these databases.