Skip to content
TelegramWhatsApp

Dictionary

Prisma

Prisma is a next-generation ORM for Node.js and TypeScript that provides type-safe database access through a schema-first approach. You define your data model in a Prisma schema file, and the tool generates a fully typed client that provides autocomplete, error checking, and compile-time validation for all database queries. This eliminates an entire class of runtime errors caused by incorrect column names, wrong types, or invalid relations.

The migration system tracks schema changes over time, generating SQL migration files that can be reviewed, version-controlled, and applied consistently across environments. Prisma Studio provides a visual interface for browsing and editing data during development. The introspection feature can generate a Prisma schema from an existing database, making adoption possible for projects with established databases.

For web development teams, Prisma has become the standard ORM in the TypeScript ecosystem. It supports PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB through a single consistent API. The type safety it provides is particularly valuable in larger codebases where database schema changes need to propagate through the application with compiler-verified correctness rather than relying on manual testing to catch mismatches.