| Features | - 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
| - 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
| - 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
|