| Features | - type-safe code generated from SQL schema and queries
- built-in Go generator; plugins for Kotlin, Python and TypeScript
- PostgreSQL and MySQL (stable); SQLite, ClickHouse, DuckDB, Spanner and SQL Server (beta)
- vet command for linting queries
- verify command for checking schema changes
- fmt, parse and analyze commands
- query annotations, macros, type overrides and struct configuration
- codegen plugins for more languages
- All 10 features
| - schema as Go code: fields, edges, indexes, mixins and annotations
- statically typed, explicit API generated from the schema
- CRUD, predicates, aggregations, paging and ordering
- graph traversal and eager loading
- hooks, interceptors and a privacy layer
- transactions
- automatic and versioned migrations (with Atlas)
- MySQL, MariaDB, TiDB, PostgreSQL, CockroachDB, SQLite and Gremlin
- All 10 features
| - 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
| - Core SQL Expression Language
- optional ORM with unit of work and identity map
- schema DDL generation and introspection
- dialects for PostgreSQL, MySQL/MariaDB, SQLite, Oracle and SQL Server
- sync and asyncio drivers
- eager and lazy loading strategies
- hand-written SQL can replace generated statements
- bind parameters for all literal values
|