drizzle-orm-v0.38

Document Drizzle ORM v0.38 APIs for PostgreSQL schema, queries, and migrations.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/zenbuapps/zenbu-powers --skill drizzle-orm-v0-38
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drizzle-orm-v0.38
Source: https://github.com/zenbuapps/zenbu-powers/tree/main/skills/drizzle-orm-v0.38
Command: npx skills add https://github.com/zenbuapps/zenbu-powers --skill drizzle-orm-v0-38

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Drizzle ORM v0.38 reference consolidates PostgreSQL-centric APIs for schema, queries, and migrations into an offline, version-consistent guide.

Core Features & Use Cases

  • Comprehensive references for drizzle-orm v0.38.x and drizzle-kit v0.31.x covering schema declarations, relational queries, migrations, and type inference.
  • Practical examples and CLI guidance for migration workflows, including drizzle-kit commands and RQB usage.
  • Use Case: New project setup where a developer generates a complete data access layer with correct types and safe SQL, then iterates against a live PostgreSQL database using the references.

Quick Start

Start by opening the references directory to explore the drizzle-orm v0.38 docs, and skim the migrations-reference.md and query-reference.md to bootstrap your integration.

Frequently Asked Questions about drizzle-orm-v0.38

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

FAQPage Schema
How do I define a PostgreSQL schema with Drizzle ORM in TypeScript?▼

To define a PostgreSQL schema with Drizzle ORM, you use TypeScript-based schema declarations that ensure accurate type inference and safe SQL composition. The reference provides examples for declaring tables and integrating them into your data access layer.

How do I generate and run database migrations using drizzle-kit?▼

You generate and run migrations using drizzle-kit via specific CLI commands documented in the migrations reference. The guide covers drizzle-kit v0.31.x workflows to help you iterate against a live PostgreSQL database safely.

Does this Drizzle ORM reference cover the relational query API (RQB)?▼

Yes, this Drizzle ORM reference covers the relational query API (RQB). It consolidates PostgreSQL-centric APIs for relational queries, ensuring accurate type inference and safe SQL composition for TypeScript projects using drizzle-orm v0.38.x.

What is the best way to ensure type safety with Drizzle ORM v0.38?▼

The best way to ensure type safety with Drizzle ORM v0.38 is by using its TypeScript-native schema declarations and relational query API. This reference provides practical examples for accurate type inference and safe SQL composition.

Can I use this Drizzle ORM guide for offline database integration?▼

Yes, you can use this Drizzle ORM guide for offline database integration. It serves as an offline, version-consistent guide that consolidates PostgreSQL-centric APIs for schema, queries, and migrations without requiring live internet access.

Why should I use a version-consistent Drizzle ORM reference?▼

You should use a version-consistent Drizzle ORM reference to prevent API mismatches during development. This guide specifically documents drizzle-orm v0.38.x and drizzle-kit v0.31.x, ensuring accurate type inference and safe SQL composition for your TypeScript projects.