Prisma Client extensions is currently in Preview. The extensions are provided as examples only, and without warranty. They are not intended to be used in production environments.
|Provides the current user's ID as context to Postgres audit log triggers|
|Adds a method to start interactive transactions without callbacks|
|Adds virtual / computed fields to result objects|
|Transforms the input arguments passed to Prisma Client queries to filter the result set|
|Runs custom validation logic on input arguments passed to mutation methods|
|Adds Active Record-like methods like |
|Uses strongly-typed runtime parsing for data stored in JSON columns|
|Adds reusable filters that can composed into complex |
|Prevents sensitive data (e.g. |
|Wraps Prisma Client queries with simple query timing and logging|
|Creates a client that only allows read operations|
|Adds a retry mechanism to transactions with exponential backoff and jitter|
|Uses Postgres row-level security policies to isolate data a multi-tenant application|
|Adds custom query methods to Prisma Client models|
|Demonstrates how to use result extensions to transform query results and add i18n to an app|
|Demonstrates how to add an |
- Learn more about Prisma Client extensions.
Was this helpful?
Edit this page on GitHub