Type-safe ORM cho Node.js/TypeScript. Schema-first: định nghĩa models trong schema.prisma → generate client. Auto-complete, type checking cho queries.
Migration tự động. Hỗ trợ PostgreSQL, MySQL, SQLite, MongoDB. Dự án enterprise mới thường chọn Prisma thay Sequelize.
Prisma is a type-safe ORM for Node.js/TypeScript.
- Schema-first: define models in schema.prisma → generate a strongly-typed client.
- Provides auto-complete and type checking for all queries.
- Handles automatic migrations.
- Supports PostgreSQL, MySQL, SQLite, and MongoDB.
- New enterprise projects typically choose Prisma over Sequelize.