Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

771 B

ORM Selection (2025)

Choose ORM based on deployment and DX needs.

Decision Tree

What's the context?
│
├── Edge deployment / Bundle size matters
│   └── Drizzle (smallest, SQL-like)
│
├── Best DX / Schema-first
│   └── Prisma (migrations, studio)
│
├── Maximum control
│   └── Raw SQL with query builder
│
└── Python ecosystem
    └── SQLAlchemy 2.0 (async support)

Comparison

ORM Best For Trade-offs
Drizzle Edge, TypeScript Newer, less examples
Prisma DX, schema management Heavier, not edge-ready
Kysely Type-safe SQL builder Manual migrations
Raw SQL Complex queries, control Manual type safety