talira

Compare

Drizzle ORMPrisma ORMTypeORMMikroORM
What it isLightweight, type-safe TypeScript ORM for SQL databasesOne schema. Every query type-safe.TypeScript ORM with DataMapper and ActiveRecord patternsTypeScript ORM for Node.js built on Data Mapper, Unit of Work and Identity Map
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.650.770.700.71
Stars3641447712366789279
Last commit2026-11-132026-11-242026-11-242026-11-27
LicenceApache-2.0Apache-2.0MITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP serverYes———
CompanyDrizzle TeamPrismaTypeORMMartin Adámek
Features
  • relational and SQL-like query APIs
  • type-safe queries
  • migrations, push and pull with Drizzle Kit
  • Drizzle Studio
  • PostgreSQL, MySQL, SQLite, SingleStore, MSSQL and CockroachDB
  • MCP server for coding agents
  • declarative schema file defining models, fields and relations
  • generated type-safe client with autocomplete for every model
  • migrations generated from schema changes, refusing destructive changes that would drop data
  • Prisma 7: PostgreSQL, MySQL, SQLite, MongoDB, SQL Server and CockroachDB providers
  • Prisma 8 (release candidate): native TypeScript rewrite with a public extension interface
  • official extensions for pgvector, PostGIS and ParadeDB (experimental)
  • npm create prisma scaffolds Next.js, Hono, Nuxt, Astro, NestJS, SvelteKit, TanStack Start or Elysia apps
  • agent skills (SKILL.md) installed for Claude Code, Cursor, Copilot Agent and Devin
  • All 9 features
  • DataMapper and ActiveRecord patterns
  • TypeScript-first, type-safe entities
  • QueryBuilder with joins, pagination and caching
  • migrations with automatic generation
  • MySQL, PostgreSQL, MariaDB, SQLite, SQL Server, Oracle, CockroachDB, Spanner, SAP HANA and MongoDB
  • runs in Node.js, browsers, React Native, Expo and Electron
  • Identity Map and Unit of Work: automatic change tracking, flushed in one transaction
  • entities defined with defineEntity, decorators or EntitySchema
  • drivers for PostgreSQL, MySQL, MariaDB, SQLite, libSQL, MongoDB, MS SQL Server and Oracle
  • QueryBuilder and Kysely integration
  • schema generator, migrations, entity generator and seeding
  • filters, lifecycle hooks, embeddables, custom types and composite keys
Limitations
    • Doesn't fully support SQLite, MySQL or MariaDB in Prisma 8 yet: they're proofs of concept, with PostgreSQL and MongoDB first-class
      • Only the latest major version gets new features and bug fixes; the previous one gets only high and critical security fixes for 12 months.