BLACK FRIDAY DEAL on One Dollar Stats 🚀
Documentation
24k+
Light
Dark
System
meet drizzle
Get started
Why Drizzle?
Guides
Tutorials
Latest releases
Gotchas
Fundamentals
Schema
Database connection
Query data
Migrations
Connect
PostgreSQL
MySQL
SQLite
SingleStore
Neon
Vercel Postgres
Supabase
Xata
PGLite
PlanetScale
TiDB
Turso
Cloudflare D1
Bun SQLite
Cloudflare Durable Objects
Expo SQLite
OP SQLite
React Native SQLite
AWS Data API Postgres
AWS Data API MySQL
Drizzle Proxy
Expand
Manage schema
Data types
Indexes & Constraints
Sequences
Views
Schemas
Row-Level Security (RLS)
Extensions
Relations
Migrations
Overview
generate
migrate
push
pull
export
check
up
studio
Custom migrations
Migrations for teams
Web and mobile
drizzle.config.ts
Seeding
Overview
Generators
Access your data
Query
Select
Insert
Update
Delete
Filters
Utils
Joins
Magic sql`` operator
Performance
Queries
Serverless
Advanced
Set Operations
Generated Columns
Transactions
Batch
Dynamic query building
Read Replicas
Custom types
Goodies
Extensions
Prisma
ESLint Plugin
drizzle-zod
drizzle-typebox
drizzle-valibot
drizzle-graphql
System
Light
Dark
Become a Sponsor
Twitter
Discord
v1.0
75%
Benchmarks
Extension
Studio
Studio Package
Drizzle Run
Our goodies!
🚀 Drizzle is giving you 10% off Turso Scaler and Pro for 1 Year 🚀
Become a Gold Sponsor
Product by Drizzle Team
One Dollar Stats
$1 per mo web analytics
Guides
Comprehensive collection of code samples and step-by-step walkthroughs for common tasks
Conditional filters in query
SQL Increment value
SQL Decrement value
Include or Exclude Columns in Query
SQL Toggle value
Count rows
Upsert Query
SQL Limit/Offset pagination
SQL Cursor-based pagination
SQL Timestamp as a default value
Select parent rows with at least one related child row
Empty array as a default value
Update many with different values for each row
Unique and Case-Insensitive Email Handling
Vector similarity search with pgvector extension
PostgreSQL full-text search
Cloudflare D1 HTTP API with Drizzle Kit
Point datatype in PostgreSQL
PostGIS geometry point
How to setup PostgreSQL locally
How to setup MySQL locally