Drizzle
ELI5 — The Vibe Check
Drizzle is the ORM for developers who think Prisma is too magical. It's TypeScript-native, SQL-like, and doesn't generate a big client library. You write queries that look almost like SQL but with full type safety. It's the 'I want types but I also want control' ORM.
Real Talk
Drizzle ORM is a lightweight, TypeScript-first ORM that provides a SQL-like query builder with full type safety. Unlike Prisma, it has zero dependencies, no code generation step, and produces queries that closely mirror raw SQL. It supports PostgreSQL, MySQL, and SQLite with both relational and SQL-like query APIs.
Show Me The Code
const users = await db.select()
.from(usersTable)
.where(eq(usersTable.email, 'a@b.com'))
.leftJoin(postsTable, eq(usersTable.id, postsTable.authorId));
When You'll Hear This
"Drizzle gives us Prisma-level type safety without the code generation." / "Our bundle size dropped 200KB after switching from Prisma to Drizzle."
Related Terms
ORM (Object-Relational Mapper)
An ORM is like a translator between your code and your database. Instead of writing scary SQL, you just write normal code like `User.
Prisma
Prisma is the ORM that made TypeScript developers actually enjoy working with databases.
SQL (Structured Query Language)
SQL is the language you use to talk to a database. You ask it things like 'give me all users who signed up this week' and it actually does it.
TypeScript
TypeScript is JavaScript with a strict parent watching over it.