Client Extensions
Explore the Prisma Client extensions that have been built by Prisma and its community
The following is a list of extensions we've built at Prisma:
The following is a list of extensions created by the community. If you want to create your own package, refer to the Shared Prisma Client extensions documentation.
If you have built an extension and would like to see it featured, feel free to add it to the list by opening a pull request.
| Example | Description |
|---|---|
audit-log-context | Provides the current user's ID as context to Postgres audit log triggers |
callback-free-itx | Adds a method to start interactive transactions without callbacks |
computed-fields | Adds virtual / computed fields to result objects |
input-transformation | Transforms the input arguments passed to Prisma Client queries to filter the result set |
input-validation | Runs custom validation logic on input arguments passed to mutation methods |
instance-methods | Adds Active Record-like methods like save() and delete() to result objects |
json-field-types | Uses strongly-typed runtime parsing for data stored in JSON columns |
model-filters | Adds reusable filters that can composed into complex where conditions for a model |
obfuscated-fields | Prevents sensitive data (e.g. password fields) from being included in results |
query-logging | Wraps Prisma Client queries with simple query timing and logging |
readonly-client | Creates a client that only allows read operations |
retry-transactions | Adds a retry mechanism to transactions with exponential backoff and jitter |
row-level-security | Uses Postgres row-level security policies to isolate data a multi-tenant application |
static-methods | Adds custom query methods to Prisma Client models |
transformed-fields | Demonstrates how to use result extensions to transform query results and add i18n to an app |
exists-method | Demonstrates how to add an exists method to all your models |
update-delete-ignore-not-found | Demonstrates how to add the updateIgnoreOnNotFound and deleteIgnoreOnNotFound methods to all your models. |
- Learn more about Prisma Client extensions.