Quick Use
npm install drizzle-orm postgresimport { pgTable, serial, text } from "drizzle-orm/pg-core";
export const users = pgTable("users", {
id: serial("id").primaryKey(),
name: text("name").notNull(),
});Intro
Drizzle ORM is a type-safe TypeScript ORM with 28,000+ GitHub stars. SQL-style syntax, zero abstraction overhead, and just 7.4KB. Native serverless support for PostgreSQL/MySQL/SQLite. Ideal for TypeScript developers who know SQL and want type safety.
Source & Thanks
Created by Drizzle Team. Licensed under Apache 2.0.
drizzle-orm — ⭐ 28,000+