drizzle-orm

Provide a TypeScript-first ORM with compile-time type safety for PostgreSQL, MySQL, and SQLite.

2|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/AmbitionsXXXV/Etyon --skill drizzle-orm-ambitionsxxxv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drizzle-orm
Source: https://github.com/AmbitionsXXXV/Etyon/tree/main/.agents/skills/drizzle-orm
Command: npx skills add https://github.com/AmbitionsXXXV/Etyon --skill drizzle-orm-ambitionsxxxv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Drizzle ORM addresses the pain of unsafe SQL construction and runtime overhead by offering a TypeScript-first ORM with compile-time type safety and zero runtime dependencies.

Core Features & Use Cases

  • Type-safe queries with compile-time inferences for robust development.
  • Zero runtime dependencies enabling small bundles and fast cold starts.
  • Migrations & relations with a rich schema and join capabilities for complex data models.
  • Use cases include building scalable APIs, performing complex queries with joins, and maintaining strong type guarantees across the stack.

Quick Start

Install drizzle-orm and drizzle-kit, then configure a TS project and run your first query.

Frequently Asked Questions about drizzle-orm

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

FAQPage Schema
How do I get compile-time type safety with SQL queries in TypeScript?▼

Type-safe SQL queries in TypeScript are achieved through compile-time type inference, ensuring robust development by catching schema mismatches before runtime without adding dependencies.

What is the best way to build a TypeScript ORM with zero runtime overhead?▼

A TypeScript ORM with zero runtime overhead uses direct SQL paths and no runtime dependencies, resulting in small bundles and fast cold starts for server-side applications.

Does Drizzle ORM support PostgreSQL, MySQL, and SQLite migrations?▼

Yes, Drizzle ORM supports migrations and relations across PostgreSQL, MySQL, and SQLite, enabling complex data models with rich schemas and join capabilities.

How do I configure type-safe relations and joins in a TypeScript ORM?▼

Configuring type-safe relations involves defining a rich schema with join capabilities, allowing complex queries to maintain strong type guarantees across the entire stack.

Can I execute raw SQL while maintaining type inference in TypeScript?▼

Yes, you can execute raw SQL while maintaining compile-time type inference, enabling high-performance queries through direct SQL paths without losing type guarantees.

Why should I choose a zero-runtime-dependency ORM for serverless APIs?▼

A zero-runtime-dependency ORM provides small bundles and fast cold starts, which are essential for serverless APIs requiring high-performance queries and strict type safety.