Scripts2026年4月6日·1 分钟阅读

Drizzle ORM — TypeScript SQL That Feels Like Code

Type-safe TypeScript ORM with SQL-like syntax. Zero overhead, serverless-ready, supports PostgreSQL, MySQL, SQLite. Schema as code with automatic migrations. 28,000+ GitHub stars.

介绍

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.


Quick Use

npm install drizzle-orm postgres
import { 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+

🙏

来源与感谢

Created by Drizzle Team. Licensed under Apache 2.0.

drizzle-orm — ⭐ 28,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产