

797: Drizzle: The TypeScript SQL ORM
11 snips Jul 19, 2024
In this discussion, Alex Blokh and Andrew Sherman, co-founders of Drizzle ORM, delve into their innovative TypeScript SQL ORM. They share insights on building Drizzle, emphasizing type safety and flexibility, while critiquing common ORM misconceptions. The pair contrasts Drizzle with Prisma, explaining unique filtering methods. Additionally, they discuss navigating various databases and highlight the user-friendly Drizzle Studio. The conversation also touches on the challenges of working in Ukraine amidst conflict, showcasing resilience in creativity.
AI Snips
Chapters
Transcript
Episode notes
TypeScript Complexity
- In backend development, excessive TypeScript complexity can hinder newcomers.
- Prioritize simplicity over intricate type inference for better onboarding.
ORM's Purpose
- ORMs are valuable for mapping data to TypeScript objects, not as full-fledged data frameworks.
- Use ORMs for basic query building and schema typing, not complex caching or abstractions.
ORM Design
- Design ORMs with opt-in features for varying project complexities.
- Drizzle offers pluggable modules for query building, relations, and schema management.