Blog
Stay up to date with the latest from Prisma. Guides, announcements, and articles about Prisma, ORMs, databases, and the data access layer.
Prisma Playground: An Interactive Learning Experience for Prisma
Explore the Prisma Client API to send database queries and Prisma Migrate worklfows to evolve your database schema in an interactive environment.

Prisma Client Extensions: 15 Ways to Extend Prisma ORM
Prisma Client extensions add type-safe custom behavior to Prisma ORM: computed fields, validation, RLS, retries and more, with 15 runnable examples.

Building a REST API with NestJS and Prisma: Error Handling
Learn how to handle Prisma errors in a NestJS REST API: throw exceptions in controllers and build an exception filter for Prisma error codes like P2002. Updated for Prisma ORM 7 and NestJS 11.

How TypeScript 4.9 `satisfies` Your Prisma Workflows
Learn how TypeScript 4.9''s new `satisfies` operator can help you write type-safe code with Prisma

Try Prisma: The Fastest Way to Explore Prisma Examples
Announcing: Try Prisma. A CLI utility that allows you to easily set up and try out an example projects using Prisma.


Database Metrics with Prisma, Prometheus & Grafana
This tutorial will help you to get started with Prisma's metrics feature. Learn how to integrate metrics into a web server using Prometheus and Grafana.

Improving Query Performance with Indexes using Prisma: Hash Indexes
Add a hash index in Prisma with @@index(type: Hash): a 64ms sequential scan becomes a 1.6ms lookup, verified on Prisma ORM 7 and PostgreSQL 17.

Improving Query Performance with Indexes using Prisma: B-Tree Indexes
Add a B-tree index in your Prisma schema with @@index and turn a 66ms sequential scan into a sub-millisecond lookup, an 80x improvement verified on Prisma ORM 7 and PostgreSQL 17 with EXPLAIN ANALYZE.

Improving Query Performance with Indexes using Prisma: Introduction
A database index is a secondary data structure that speeds up reads by reducing search scope. Learn the main index types, what they cost, and when to add one.

Monitor Your Server with Tracing Using OpenTelemetry & Prisma
This tutorial will help you to get started with Prisma's tracing feature and OpenTelemetry in Node.js. Learn how to integrate tracing and OpenTelemetry into a web server built with Express and Prisma.

End-To-End Type-Safety with GraphQL, Prisma & React: Codegen & Deployment
Learn how to build a fully type-safe application with GraphQL, Prisma, and React. This article walks you through setting up code generation to allow you to keep your TypeScript types in sync across your frontend and API. You will also deploy your completed project.

End-To-End Type-Safety with GraphQL, Prisma & React: API Prep
Learn how to build a fully type-safe application with GraphQL, Prisma, and React. This article walks you through setting up a TypeScript project, a PostgreSQL database, and Prisma.
