Prisma

A popular TypeScript ORM that generates a typed database client from a schema file.

In more detail

You describe tables in a schema file and Prisma generates a typed client with methods such as prisma.user.findMany(). It also manages database migrations.

Example

Prisma queries are not fetch calls, so wrap them in React cache for per-request deduplication in Next.js.

Related terms

Taught in

References