/ ORMPrisma Client In this sectionSetup & configurationIntroductionGenerating Prisma ClientInstantiating Prisma ClientDatabase connectionsConnection managementConnection poolConfigure Prisma Client with PgBouncerCustom model and field namesConfiguring error formattingRead replicasDatabase polyfillsQueriesCRUDSelect fieldsRelation queriesFiltering and SortingPaginationAggregation, grouping, and summarizingTransactions and batch queriesFull-text searchCustom validationComputed fieldsExcluding fieldsCustom modelsCase sensitivityRaw database accessRaw queriesCustom & type-safe queriesQuery optimizationFields & typesComposite typesNull and undefinedWorking with Json fieldsWorking with scalar listsWorking with compound IDs and unique constraintsExtensions`model`: Add custom methods to your models`client`: Add methods to Prisma Client`query`: Create custom Prisma Client queries`result`: Add custom fields and methods to query resultsShared Prisma Client extensionsType utilitiesShared packages & examplesMiddlewareMiddleware sample: soft deleteMiddleware sample: loggingMiddleware sample: session dataType safetyPrisma validatorOperating against partial structures of your model typesHow to use Prisma's type systemTestingUnit testingIntegration testingDeploymentDeploy PrismaTraditional serversDeploy to HerokuDeploy to KoyebServerless functionsDeploy to Azure FunctionsDeploy to VercelDeploy to AWS LambdaDeploy to NetlifyModule bundlersEdge functionsDeploy to Cloudflare WorkersDeploy to Deno DeployDeploying database changes with Prisma MigrateDeploy migrations from a local environmentCaveats when deploying to AWS platformsDeploy to a different OSObservability & loggingLoggingMetricsOpenTelemetry tracingDebugging & troubleshootingDebuggingHandling exceptions and errorsWas this helpful?This page was helpful.This page was not helpful.Edit this page on GitHub