Prompt Buddy logoPrompt Buddy

prisma ยท Prisma Docs

Prisma ORM

Comprehensive guidance on Prisma ORM covering data modeling, API patterns, and client extensions, as well as development environment configuration, database driver management, and troubleshooting common issues like bu...

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Prisma ORM

Comprehensive guidance on Prisma ORM covering data modeling, API patterns, and client extensions, as well as development environment configuration, database driver management, and troubleshooting common issues like bu...

When To Use

Use when designing database schemas, extending Prisma Client with custom methods, configuring local development environments and environment variables, or troubleshooting bundler and database constraint issues.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/api-patterns-docs-orm-core-concepts/workflow-guide.mdA documentation page explaining the core API design patterns used within the Prisma ORM.Questions about a documentation page explaining the core API design patterns used within the Prisma ORM.
examples/api-patterns-docs-orm-core-concepts/prisma-orm-api-patterns-typescript-examples.tsTypeScript code examples demonstrating common Prisma ORM API patterns for fetching and creating data within an Express-like application.Exact payloads, commands, or snippets shown in TypeScript code examples demonstrating common Prisma ORM API patterns for fetching and creating data within an Expres...
examples/api-patterns-docs-orm-core-concepts/prisma-orm-api-patterns-typescript-getserversideprops.tsA TypeScript code example demonstrating how to use Prisma client methods within a Next.js getServerSideProps function to fetch published posts.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma client methods within a Next.js getServerSideProps function...
docs/data-modeling-docs-orm-core-concepts/workflow-guide.mdA guide explaining the process of defining the shape and structure of application objects using the Prisma ORM.Questions about a guide explaining the process of defining the shape and structure of application objects using the Prisma ORM.
examples/data-modeling-docs-orm-core-concepts/prisma-orm-data-modeling.sqlA SQL script demonstrating basic table creation and column definitions for data modeling concepts.Exact payloads, commands, or snippets shown in A SQL script demonstrating basic table creation and column definitions for data modeling concepts.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling.jsA JavaScript code example demonstrating core data modeling concepts within the Prisma ORM.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating core data modeling concepts within the Prisma ORM.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-javascript-class.jsA JavaScript code example demonstrating a User class structure used to illustrate data modeling concepts in Prisma.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating a User class structure used to illustrate data modeling concepts in Prisma.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-js-user-interface.jsA JavaScript code snippet demonstrating a User interface structure for data modeling concepts.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating a User interface structure for data modeling concepts.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-2.jsA JavaScript code example demonstrating data modeling concepts and object instantiation.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating data modeling concepts and object instantiation.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-sequelize-model-definition.jsA JavaScript code example demonstrating how to define a User model using Sequelize syntax within a data modeling context.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to define a User model using Sequelize syntax within a data modeling cont...
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-javascript.jsA JavaScript code snippet demonstrating core data modeling concepts within the Prisma ORM.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating core data modeling concepts within the Prisma ORM.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling.prismaA Prisma schema file demonstrating data modeling with model definitions, primary keys, and field attributes.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating data modeling with model definitions, primary keys, and field attributes.
examples/data-modeling-docs-orm-core-concepts/prisma-data-modeling-typescript-user-type-definition.tsA TypeScript code snippet defining a User type structure to demonstrate data modeling concepts in Prisma.Exact payloads, commands, or snippets shown in A TypeScript code snippet defining a User type structure to demonstrate data modeling concepts in Prisma.
examples/data-modeling-docs-orm-core-concepts/prisma-orm-data-modeling-javascript-client-operations.jsA JavaScript code example demonstrating basic Prisma Client CRUD operations including findUnique, findMany, create, update, delete, and upsert.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating basic Prisma Client CRUD operations including findUnique, findMany, create, u...
docs/database-drivers-docs-orm-core-concepts-supported-databases/workflow-guide.mdA documentation page explaining how Prisma Client connects to databases using driver adapters.Questions about a documentation page explaining how Prisma Client connects to databases using driver adapters.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-libsql-driver-adapter.typescriptA TypeScript example demonstrating how to use the LibSQL driver adapter with the PrismaClient.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the LibSQL driver adapter with the PrismaClient.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-libsql-adapter.typescriptA TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaLibSQL adapter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaLibSQL adapter.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-pg-adapter-typescript-setup.tsA TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL connections.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL co...
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-client-generator-configuration.prismaA Prisma schema configuration block defining the prisma-client generator and its output directory.Exact payloads, commands, or snippets shown in A Prisma schema configuration block defining the prisma-client generator and its output directory.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-pg-adapter-typescript-setup-2.tsA TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL connections.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL co...
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-orm-install-generated-client.bashA bash command to install a locally generated Prisma client using npm.Exact payloads, commands, or snippets shown in A bash command to install a locally generated Prisma client using npm.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-install-generated-client.bashA bash command demonstrating how to install a locally generated Prisma client using npm.Exact payloads, commands, or snippets shown in A bash command demonstrating how to install a locally generated Prisma client using npm.
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-pg-adapter-typescript-setup-3.tsA TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL connections.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize a PrismaClient using the PrismaPg adapter for PostgreSQL co...
examples/database-drivers-docs-orm-core-concepts-supported-databases/prisma-nuxt-wasm-driver-configuration.tsA TypeScript configuration file for Nuxt demonstrating how to enable the experimental WASM feature for database driver support.Exact payloads, commands, or snippets shown in A TypeScript configuration file for Nuxt demonstrating how to enable the experimental WASM feature for database drive...
docs/best-practices-docs-orm-more/workflow-guide.mdA guide outlining recommended practices for using the Prisma ORM, including development environment setup and release maturity levels.Questions about a guide outlining recommended practices for using the Prisma ORM, including development environment setup and release...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-models.prismaA Prisma schema file demonstrating best practices for model definitions, including field mapping and table renaming.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating best practices for model definitions, including field mapping and table renaming.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-models-2.prismaA Prisma schema file demonstrating best practices for defining models and relations.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating best practices for defining models and relations.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-indexing.prismaA Prisma schema snippet demonstrating the use of @@index for optimizing relational queries.Exact payloads, commands, or snippets shown in A Prisma schema snippet demonstrating the use of @@index for optimizing relational queries.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-modeling.prismaA Prisma schema demonstrating best practices for model definitions including relations and indexing.Exact payloads, commands, or snippets shown in A Prisma schema demonstrating best practices for model definitions including relations and indexing.
examples/best-practices-docs-orm-more/prisma-orm-best-practices.prismaA Prisma schema file demonstrating best practices such as using enums and attribute mapping.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating best practices such as using enums and attribute mapping.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-structure.textA text representation of a recommended Prisma project directory structure and schema organization.Exact payloads, commands, or snippets shown in A text representation of a recommended Prisma project directory structure and schema organization.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-typescript-client-instantiation.tsA TypeScript code example demonstrating the best practice for instantiating a PrismaClient with a database adapter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the best practice for instantiating a PrismaClient with a database adapter.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-nplusone-query-optimization.tsA TypeScript example demonstrating how to resolve N+1 query issues by replacing iterative database calls with the include operator or batch filtering.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to resolve N+1 query issues by replacing iterative database calls with the inc...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-select-fields-typescript.tsA TypeScript example demonstrating the best practice of using the select property to fetch only required fields from a database query.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the best practice of using the select property to fetch only required fields from...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-client-instantiation-typescript.tsA TypeScript example demonstrating best practices for PrismaClient instantiation and the use of the omit feature.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating best practices for PrismaClient instantiation and the use of the omit feature.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-pagination-typescript.tsA TypeScript example demonstrating efficient data fetching using skip and take for pagination in Prisma ORM.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating efficient data fetching using skip and take for pagination in Prisma ORM.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-pagination-typescript-2.tsA TypeScript example demonstrating efficient pagination using take, skip, and cursor patterns in Prisma ORM.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating efficient pagination using take, skip, and cursor patterns in Prisma ORM.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-create-many-update-many-typescript.tsTypeScript code demonstrating efficient bulk operations using createMany and updateMany in Prisma ORM.Exact payloads, commands, or snippets shown in TypeScript code demonstrating efficient bulk operations using createMany and updateMany in Prisma ORM.
examples/best-practices-docs-orm-more/prisma-orm-best-practices-sql-injection-prevention-typescript.tsA TypeScript example demonstrating how to prevent SQL injection by using parameterized queries instead of template literals in prisma.$queryRaw.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to prevent SQL injection by using parameterized queries instead of template li...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-typescript.tsA TypeScript code example demonstrating best practices for querying data using the Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating best practices for querying data using the Prisma Client.
examples/best-practices-docs-orm-more/prisma-best-practices-zod-validation-typescript.tsA TypeScript example demonstrating how to use Zod for schema validation before performing Prisma database operations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Zod for schema validation before performing Prisma database operations.
examples/best-practices-docs-orm-more/prisma-best-practices-raw-query-sql-injection-prevention.tsTypeScript examples demonstrating safe versus unsafe ways to execute raw SQL queries using tagged templates and parameterized inputs in Prisma.Exact payloads, commands, or snippets shown in TypeScript examples demonstrating safe versus unsafe ways to execute raw SQL queries using tagged templates and param...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-omit-field-typescript.tsTypeScript example demonstrating how to use the omit feature in Prisma to exclude specific fields from query results globally and per-query.Exact payloads, commands, or snippets shown in TypeScript example demonstrating how to use the omit feature in Prisma to exclude specific fields from query results...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-mocking-client-typescript.tsA TypeScript example demonstrating how to use mockDeep to mock the PrismaClient for unit testing.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use mockDeep to mock the PrismaClient for unit testing.
examples/best-practices-docs-orm-more/prisma-best-practices-typescript-test-setup.tsA TypeScript example demonstrating best practices for setting up PrismaClient with a database adapter and lifecycle hooks in a testing environment.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating best practices for setting up PrismaClient with a database adapter and lifecycle h...
examples/best-practices-docs-orm-more/prisma-best-practices-github-actions-migration-deploy.yamlA YAML configuration snippet demonstrating how to apply Prisma migrations using npx prisma migrate deploy within a CI/CD workflow.Exact payloads, commands, or snippets shown in A YAML configuration snippet demonstrating how to apply Prisma migrations using npx prisma migrate deploy within a CI...
examples/best-practices-docs-orm-more/prisma-orm-best-practices-postgresql-adapter-typescript.tsA TypeScript example demonstrating how to use a PostgreSQL adapter with PrismaClient for optimized database connections.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use a PostgreSQL adapter with PrismaClient for optimized database connections.
docs/drizzle-docs-orm-more-comparisons-prisma-and/workflow-guide.mdA comparison guide between Prisma and Drizzle ORMs detailing their differences and use cases.Questions about a comparison guide between Prisma and Drizzle ORMs detailing their differences and use cases.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-comparison.prismaA Prisma schema definition used to demonstrate structural differences between Prisma and Drizzle ORM.Exact payloads, commands, or snippets shown in A Prisma schema definition used to demonstrate structural differences between Prisma and Drizzle ORM.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-comparison-typescript.tsA TypeScript code snippet demonstrating Drizzle ORM schema definitions for PostgreSQL tables including users and posts.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating Drizzle ORM schema definitions for PostgreSQL tables including users and posts.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-comparison-query-syntax.tsA TypeScript code comparison demonstrating the syntax differences between Prisma and Drizzle for finding multiple, single, and unique users.Exact payloads, commands, or snippets shown in A TypeScript code comparison demonstrating the syntax differences between Prisma and Drizzle for finding multiple, si...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-query-comparison-typescript.tsA TypeScript code comparison demonstrating how to perform findMany and findFirst queries using the Drizzle ORM syntax.Exact payloads, commands, or snippets shown in A TypeScript code comparison demonstrating how to perform findMany and findFirst queries using the Drizzle ORM syntax.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-orm-comparison-typescript.tsA TypeScript code snippet demonstrating the syntax differences for user creation, updates, and deletions between Prisma and Drizzle ORMs.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntax differences for user creation, updates, and deletions between Pris...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-comparison-typescript-crud-operations.tsTypeScript code demonstrating Drizzle ORM insert, update, and delete operations as part of a comparison with Prisma.Exact payloads, commands, or snippets shown in TypeScript code demonstrating Drizzle ORM insert, update, and delete operations as part of a comparison with Prisma.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-orm-comparison-typescript-query.tsA TypeScript code snippet demonstrating the syntax difference between a Prisma findMany query with relations and its Drizzle ORM equivalent.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntax difference between a Prisma findMany query with relations and its...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-comparison-query-syntax.tsA TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing relational queries.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing re...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-case-sensitive-filter-comparison.tsA TypeScript comparison demonstrating case-sensitive and case-insensitive filtering syntax between Prisma and Drizzle.Exact payloads, commands, or snippets shown in A TypeScript comparison demonstrating case-sensitive and case-insensitive filtering syntax between Prisma and Drizzle.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-comparison-case-sensitive-filter-typescript.tsA TypeScript code comparison demonstrating case-sensitive and case-insensitive filtering syntax between Prisma and Drizzle ORM.Exact payloads, commands, or snippets shown in A TypeScript code comparison demonstrating case-sensitive and case-insensitive filtering syntax between Prisma and Dr...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-comparison-query-syntax-typescript.tsA TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing a findMany query with a filter.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing a...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-comparison-query-syntax.tsA TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM for performing database select queries.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM for performing dat...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-comparison-query-syntax-typescript-2.tsA TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing a findMany query with a filter.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing a...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-drizzle-orm-comparison-query-syntax-2.tsA TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing database select queries.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the syntactical differences between Prisma and Drizzle ORM when performing da...
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-and-drizzle-comparison-typescript-query-syntax.tsA TypeScript code snippet comparing the syntax of Prisma and Drizzle ORM for performing database queries.Exact payloads, commands, or snippets shown in A TypeScript code snippet comparing the syntax of Prisma and Drizzle ORM for performing database queries.
examples/drizzle-docs-orm-more-comparisons-prisma-and/prisma-vs-drizzle-query-syntax-comparison-typescript.tsA TypeScript code comparison demonstrating the syntactical differences between Prisma and Drizzle ORM query patterns.Exact payloads, commands, or snippets shown in A TypeScript code comparison demonstrating the syntactical differences between Prisma and Drizzle ORM query patterns.
docs/dev-environment-docs-orm-more/workflow-guide.mdA guide covering local development environment setup for Prisma ORM, including editor configuration and environment variable management.Questions about a guide covering local development environment setup for Prisma ORM, including editor configuration and environment v...
docs/editor-setup-docs-orm-more-dev-environment/workflow-guide.mdA guide describing how to configure various code editors for an optimal developer experience when using Prisma ORM.Questions about a guide describing how to configure various code editors for an optimal developer experience when using Prisma ORM.
examples/editor-setup-docs-orm-more-dev-environment/prisma-editor-settings-vscode.jsonA JSON configuration snippet for VS Code editor settings to enable automatic formatting on save for Prisma files.Exact payloads, commands, or snippets shown in A JSON configuration snippet for VS Code editor settings to enable automatic formatting on save for Prisma files.
examples/editor-setup-docs-orm-more-dev-environment/prisma-vscode-editor-settings.jsonA JSON configuration snippet for setting the Prisma extension as the default formatter in Visual Studio Code.Exact payloads, commands, or snippets shown in A JSON configuration snippet for setting the Prisma extension as the default formatter in Visual Studio Code.
examples/editor-setup-docs-orm-more-dev-environment/prisma-editor-setup-inshellisense-install.bashA bash command to install the Microsoft Inshellisense CLI globally for enhanced terminal autocompletion.Exact payloads, commands, or snippets shown in A bash command to install the Microsoft Inshellisense CLI globally for enhanced terminal autocompletion.
examples/editor-setup-docs-orm-more-dev-environment/prisma-editor-setup-inshellisense-install-2.bashA bash command to globally install Microsoft Inshellisense using pnpm for the Prisma editor setup.Exact payloads, commands, or snippets shown in A bash command to globally install Microsoft Inshellisense using pnpm for the Prisma editor setup.
examples/editor-setup-docs-orm-more-dev-environment/prisma-editor-setup-inshellisense-install-3.bashA bash command to globally install Microsoft Inshellisense for enhanced CLI autocompletion in the Prisma editor setup.Exact payloads, commands, or snippets shown in A bash command to globally install Microsoft Inshellisense for enhanced CLI autocompletion in the Prisma editor setup.
examples/editor-setup-docs-orm-more-dev-environment/prisma-editor-setup-inshellisense-bun-install.bashA bash command to install Microsoft Inshellisense globally using the Bun package manager for the Prisma editor setup.Exact payloads, commands, or snippets shown in A bash command to install Microsoft Inshellisense globally using the Bun package manager for the Prisma editor setup.
docs/environment-variables-docs-orm-more-dev/workflow-guide.mdA guide explaining how to use and manage environment variables within the Prisma ORM development environment.Questions about a guide explaining how to use and manage environment variables within the Prisma ORM development environment.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-configuration.textAn example of defining environment variables for a Prisma project using key-value pairs.Exact payloads, commands, or snippets shown in An example of defining environment variables for a Prisma project using key-value pairs.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variable-conflict-error-message.textA text representation of a Prisma error message indicating a conflict between environment variables in the .env and prisma/.env files.Exact payloads, commands, or snippets shown in A text representation of a Prisma error message indicating a conflict between environment variables in the .env and p...
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-configuration-examples.textA list of example environment variable configurations for Prisma, including DATABASE_URL and variations with schema parameters.Exact payloads, commands, or snippets shown in A list of example environment variable configurations for Prisma, including DATABASEURL and variations with schema pa...
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-bash-export-database-url.bashA bash command demonstrating how to export the DATABASE_URL environment variable for a Prisma project.Exact payloads, commands, or snippets shown in A bash command demonstrating how to export the DATABASEURL environment variable for a Prisma project.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-configuration-2.textA text file demonstrating the syntax for configuring Prisma environment variables, including the use of query parameters like schema in the DATABASE_URL.Exact payloads, commands, or snippets shown in A text file demonstrating the syntax for configuring Prisma environment variables, including the use of query paramet...
examples/environment-variables-docs-orm-more-dev/prisma-dotenv-typescript-environment-variable-loading.tsA TypeScript code snippet demonstrating how to use the dotenv package to load and access the DATABASE_URL environment variable.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the dotenv package to load and access the DATABASEURL environment...
examples/environment-variables-docs-orm-more-dev/prisma-dotenv-load-environment-variables-typescript.tsA TypeScript code snippet demonstrating how to use the dotenv library to load environment variables from a specific file path for a Prisma project.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the dotenv library to load environment variables from a specific f...
examples/environment-variables-docs-orm-more-dev/prisma-dotenv-expand-typescript-configuration.tsA TypeScript code snippet demonstrating how to use dotenv and dotenv-expand to load environment variables from a specific file path.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use dotenv and dotenv-expand to load environment variables from a spec...
examples/environment-variables-docs-orm-more-dev/prisma-dotenv-config-typescript.tsA TypeScript code snippet demonstrating how to use the dotenv library to load specific environment files based on the NODE_ENV variable.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the dotenv library to load specific environment files based on the...
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-bash-export.bashA bash script demonstrating how to export the DATABASE_URL environment variable for a Prisma connection.Exact payloads, commands, or snippets shown in A bash script demonstrating how to export the DATABASEURL environment variable for a Prisma connection.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-bash-printenv.bashA bash command demonstrating how to print the DATABASE_URL environment variable using printenv.Exact payloads, commands, or snippets shown in A bash command demonstrating how to print the DATABASEURL environment variable using printenv.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-postgresql-connection-string.textA text example of a PostgreSQL connection string formatted for use as a Prisma environment variable.Exact payloads, commands, or snippets shown in A text example of a PostgreSQL connection string formatted for use as a Prisma environment variable.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-bash-setup.bashA bash command demonstrating how to set the DATABASE_URL environment variable for a Prisma project.Exact payloads, commands, or snippets shown in A bash command demonstrating how to set the DATABASEURL environment variable for a Prisma project.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-powershell-set-database-url.bashA PowerShell command demonstrating how to set the DATABASE_URL environment variable for a Prisma project.Exact payloads, commands, or snippets shown in A PowerShell command demonstrating how to set the DATABASEURL environment variable for a Prisma project.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-bash-setup-2.bashA bash script demonstrating how to set the DATABASE_URL environment variable for a Prisma project.Exact payloads, commands, or snippets shown in A bash script demonstrating how to set the DATABASEURL environment variable for a Prisma project.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-powershell-get-command.bashA PowerShell command used to list environment variables such as DATABASE_URL in a development environment.Exact payloads, commands, or snippets shown in A PowerShell command used to list environment variables such as DATABASEURL in a development environment.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-postgresql.textA text file demonstrating the format for setting the DATABASE_URL environment variable for a PostgreSQL connection in Prisma.Exact payloads, commands, or snippets shown in A text file demonstrating the format for setting the DATABASEURL environment variable for a PostgreSQL connection in...
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-postgresql-connection-string-2.textA text example of a DATABASE_URL environment variable configured for a PostgreSQL connection.Exact payloads, commands, or snippets shown in A text example of a DATABASEURL environment variable configured for a PostgreSQL connection.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-package-json-scripts.jsonA JSON snippet showing package.json scripts that use dotenv to load environment variables for Prisma migrations.Exact payloads, commands, or snippets shown in A JSON snippet showing package.json scripts that use dotenv to load environment variables for Prisma migrations.
examples/environment-variables-docs-orm-more-dev/prisma-environment-variables-json-configuration.jsonA JSON configuration snippet demonstrating the use of environment variables within a package.json scripts object.Exact payloads, commands, or snippets shown in A JSON configuration snippet demonstrating the use of environment variables within a package.json scripts object.
docs/bundler-issues-docs-orm-more-troubleshooting/workflow-guide.mdA guide detailing common bundler errors and troubleshooting steps for Prisma ORM, including specific solutions for vercel/pkg ENOENT errors.Questions about a guide detailing common bundler errors and troubleshooting steps for Prisma ORM, including specific solutions for ve...
examples/bundler-issues-docs-orm-more-troubleshooting/prisma-bundler-enoent-query-engine-error-log.textA text log demonstrating an ENOENT error when a bundler fails to locate the Prisma query engine binary.Exact payloads, commands, or snippets shown in A text log demonstrating an ENOENT error when a bundler fails to locate the Prisma query engine binary.
examples/bundler-issues-docs-orm-more-troubleshooting/prisma-pkg-assets-bundler-configuration.jsonA JSON configuration snippet for the pkg bundler specifying the required Prisma client node module assets.Exact payloads, commands, or snippets shown in A JSON configuration snippet for the pkg bundler specifying the required Prisma client node module assets.
docs/check-constraints-docs-orm-more-troubleshooting/workflow-guide.mdThis documentation explains how to configure and troubleshoot check constraints within a PostgreSQL database using Prisma.Questions about this documentation explains how to configure and troubleshoot check constraints within a PostgreSQL database using Pr...
examples/check-constraints-docs-orm-more-troubleshooting/prisma-sql-check-constraints-product-table.sqlA SQL script demonstrating how to define and apply check constraints to a product table price column.Exact payloads, commands, or snippets shown in A SQL script demonstrating how to define and apply check constraints to a product table price column.
examples/check-constraints-docs-orm-more-troubleshooting/prisma-sql-check-constraints.sqlA SQL script demonstrating the implementation of check constraints on a table named anotherproduct.Exact payloads, commands, or snippets shown in A SQL script demonstrating the implementation of check constraints on a table named anotherproduct.
examples/check-constraints-docs-orm-more-troubleshooting/prisma-sql-check-constraints-examples.sqlSQL statements demonstrating how to implement table constraints using CHECK clauses for numeric ranges and array elements.Exact payloads, commands, or snippets shown in SQL statements demonstrating how to implement table constraints using CHECK clauses for numeric ranges and array elem...
examples/check-constraints-docs-orm-more-troubleshooting/prisma-sql-check-constraints-troubleshooting.sqlA SQL script demonstrating how to create a table and add a check constraint to validate column values.Exact payloads, commands, or snippets shown in A SQL script demonstrating how to create a table and add a check constraint to validate column values.
examples/check-constraints-docs-orm-more-troubleshooting/prisma-check-constraints.prismaA Prisma schema file demonstrating the implementation and troubleshooting of check constraints within a model definition.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating the implementation and troubleshooting of check constraints within a model definit...
examples/check-constraints-docs-orm-more-troubleshooting/prisma-check-constraints-js-violation.jsA JavaScript code snippet demonstrating a Prisma Client operation that fails due to a database check constraint violation.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating a Prisma Client operation that fails due to a database check constraint viola...
examples/check-constraints-docs-orm-more-troubleshooting/prisma-check-constraint-violation-error-message.textA text representation of a PostgreSQL check constraint violation error message encountered during a Prisma operation.Exact payloads, commands, or snippets shown in A text representation of a PostgreSQL check constraint violation error message encountered during a Prisma operation.
docs/add-methods-to-prisma-client-docs-orm-extensions/workflow-guide.mdDocumentation explaining how to use Prisma Client extensions to add top-level methods to the Prisma Client instance.Questions about documentation explaining how to use Prisma Client extensions to add top-level methods to the Prisma Client instance.
examples/add-methods-to-prisma-client-docs-orm-extensions/prisma-client-extensions-add-methods-typescript.tsA TypeScript code example demonstrating how to use the $extends method to add custom client methods to a Prisma Client instance.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the $extends method to add custom client methods to a Prisma Clien...
examples/add-methods-to-prisma-client-docs-orm-extensions/prisma-client-extension-add-methods-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to add custom methods and query interceptors to the client instance.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add custom methods and query interceptors t...
docs/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/workflow-guide.mdDocumentation explaining how to use Prisma Client model extensions to add custom methods to database models.Questions about documentation explaining how to use Prisma Client model extensions to add custom methods to database models.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to add custom methods to a model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add custom methods to a model.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript-custom-methods.tsA TypeScript example demonstrating how to use Prisma Client extensions to add custom methods to a user model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add custom methods to a user model.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript-custom-methods-2.tsA TypeScript example demonstrating how to add custom methods to a Prisma model using client extensions.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to add custom methods to a Prisma model using client extensions.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript-2.tsA TypeScript code example demonstrating how to use the Prisma Client extension API to add custom methods to all models using the $allModels property.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client extension API to add custom methods to all model...
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extension-exists-method-typescript.tsA TypeScript implementation of a custom 'exists' method added to all Prisma models using client extensions.Exact payloads, commands, or snippets shown in A TypeScript implementation of a custom 'exists' method added to all Prisma models using client extensions.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extension-exists-method-typescript-2.tsA TypeScript example demonstrating how to implement a custom exists method on Prisma models using client extensions.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to implement a custom exists method on Prisma models using client extensions.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript-3.tsA TypeScript example demonstrating how to add custom methods to a Prisma model using client extensions.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to add custom methods to a Prisma model using client extensions.
examples/add-custom-methods-to-your-models-docs-orm-prisma-client-extensions-mode/prisma-client-model-extensions-typescript-custom-methods-3.tsA TypeScript example demonstrating how to use Prisma Client model extensions to add custom methods to a model using the extension context.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client model extensions to add custom methods to a model using t...
docs/create-custom-prisma-client-queries-docs-orm-extensions-query/workflow-guide.mdDocumentation explaining how to use Prisma Client extensions to hook into the query lifecycle and create custom queries.Questions about documentation explaining how to use Prisma Client extensions to hook into the query lifecycle and create custom queries.
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-extensions-query-typescript.tsA TypeScript example demonstrating how to use the Prisma Client extension API to add custom query methods to a model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client extension API to add custom query methods to a model.
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to intercept and modify query arguments for the user model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to intercept and modify query arguments for th...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-extension-query-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to intercept and modify query arguments using the query extension.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to intercept and modify query arguments using...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript-2.tsA TypeScript code example demonstrating how to use the Prisma Client query extension to intercept and customize model operations.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client query extension to intercept and customize model...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript-3.tsA TypeScript example demonstrating how to use the Prisma Client query extension to intercept and modify all client operations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client query extension to intercept and modify all client op...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript-4.tsA TypeScript example demonstrating how to use the Prisma Client query extension to intercept and log operation performance metrics.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client query extension to intercept and log operation perfor...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript-5.tsA TypeScript example demonstrating how to use the Prisma Client query extension to intercept and modify all operations on all models.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client query extension to intercept and modify all operation...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-extensions-query-typescript-2.tsA TypeScript example demonstrating how to use Prisma Client extensions to intercept and customize query operations like $queryRaw and $executeRaw.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to intercept and customize query operations li...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-extension-query-typescript-2.tsA TypeScript example demonstrating how to use Prisma Client extensions to intercept and customize query operations using the $extends method.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to intercept and customize query operations us...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-query-extension-typescript-6.tsA TypeScript code example demonstrating how to use Prisma Client extensions to intercept and modify query results, such as masking sensitive user password fields.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client extensions to intercept and modify query results, su...
examples/create-custom-prisma-client-queries-docs-orm-extensions-query/prisma-client-extension-query-transaction-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to wrap user model queries within a database transaction.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to wrap user model queries within a database t...
docs/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/workflow-guide.mdDocumentation explaining how to use Prisma Client result extensions to add custom fields and methods to query results.Questions about documentation explaining how to use Prisma Client result extensions to add custom fields and methods to query results.
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to add computed fields and methods to model query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add computed fields and methods to model qu...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-typescript-2.tsA TypeScript example demonstrating how to use Prisma Client extensions to add a computed fullName field to the user model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add a computed fullName field to the user m...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-extensions-result-custom-fields-typescript.tsA TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like fullName to query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like fullName to query...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-typescript-3.tsA TypeScript code example demonstrating how to use Prisma Client extensions to add custom fields and methods to query results.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client extensions to add custom fields and methods to query...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-extensions-result-custom-methods-typescript.tsA TypeScript example demonstrating how to add a custom save method to the user model using Prisma Client result extensions.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to add a custom save method to the user model using Prisma Client result exten...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-ts-custom-fields.tsA TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like sanitizedPassword to query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like sanitizedPassword...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-typescript-4.tsA TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like sanitizedPassword to query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add computed fields like sanitizedPassword...
examples/add-custom-fields-and-methods-to-query-results-docs-orm-prisma-client-ex/prisma-client-result-extension-typescript-5.tsA TypeScript example demonstrating how to use Prisma Client extensions to add computed custom fields to query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma Client extensions to add computed custom fields to query results.
docs/debugging-docs-orm-prisma-client-and-troubleshooting/workflow-guide.mdA guide explaining how to enable debugging output in Prisma Client and Prisma CLI using the DEBUG environment variable.Questions about a guide explaining how to enable debugging output in Prisma Client and Prisma CLI using the DEBUG environment variable.
examples/debugging-docs-orm-prisma-client-and-troubleshooting/prisma-client-debug-environment-variable-export.bashBash commands to enable prisma:engine, prisma:client, or both debugging levels using the DEBUG environment variable.Exact payloads, commands, or snippets shown in Bash commands to enable prisma:engine, prisma:client, or both debugging levels using the DEBUG environment variable.
examples/debugging-docs-orm-prisma-client-and-troubleshooting/prisma-client-debug-environment-variable.bashA bash command demonstrating how to enable verbose logging by exporting the DEBUG environment variable for Prisma.Exact payloads, commands, or snippets shown in A bash command demonstrating how to enable verbose logging by exporting the DEBUG environment variable for Prisma.
examples/debugging-docs-orm-prisma-client-and-troubleshooting/prisma-client-debug-environment-variable-2.bashA bash command demonstrating how to set the DEBUG environment variable to enable verbose logging for the Prisma Client.Exact payloads, commands, or snippets shown in A bash command demonstrating how to set the DEBUG environment variable to enable verbose logging for the Prisma Client.
examples/debugging-docs-orm-prisma-client-and-troubleshooting/prisma-client-debug-environment-variable-3.bashA bash command demonstrating how to export the DEBUG environment variable to enable verbose logging in Prisma Client.Exact payloads, commands, or snippets shown in A bash command demonstrating how to export the DEBUG environment variable to enable verbose logging in Prisma Client.
docs/caveats-when-deploying-to-aws-platforms-docs-orm-prisma-client-deploymen/workflow-guide.mdThis document outlines specific considerations and potential issues when deploying the Prisma Client on various AWS platforms.Questions about this document outlines specific considerations and potential issues when deploying the Prisma Client on various AWS p...
examples/caveats-when-deploying-to-aws-platforms-docs-orm-prisma-client-deploymen/prisma-client-aws-deployment-caveats-unsafe-perm.yamlA YAML configuration snippet demonstrating the unsafe-perm flag requirement when deploying Prisma Client to AWS platforms.Exact payloads, commands, or snippets shown in A YAML configuration snippet demonstrating the unsafe-perm flag requirement when deploying Prisma Client to AWS platf...
examples/caveats-when-deploying-to-aws-platforms-docs-orm-prisma-client-deploymen/prisma-client-aws-deployment-database-access-error.bashA bash script demonstrating a P1010 database access denied error when deploying the Prisma Client to AWS platforms.Exact payloads, commands, or snippets shown in A bash script demonstrating a P1010 database access denied error when deploying the Prisma Client to AWS platforms.
examples/caveats-when-deploying-to-aws-platforms-docs-orm-prisma-client-deploymen/prisma-client-aws-deployment-database-url-environment-variable.bashA bash command demonstrating how to format the DATABASE_URL environment variable with SSL parameters for AWS deployment.Exact payloads, commands, or snippets shown in A bash command demonstrating how to format the DATABASEURL environment variable with SSL parameters for AWS deployment.
docs/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/workflow-guide.mdA guide explaining how to apply pending database migrations using Prisma Migrate in deployment environments.Questions about a guide explaining how to apply pending database migrations using Prisma Migrate in deployment environments.
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-command.bashA bash command demonstrating how to apply pending migrations to a production database using npx prisma migrate deploy.Exact payloads, commands, or snippets shown in A bash command demonstrating how to apply pending migrations to a production database using npx prisma migrate deploy.
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-command-2.bashA bash command demonstrating how to use pnpm to execute prisma migrate deploy for deploying database changes.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use pnpm to execute prisma migrate deploy for deploying database changes.
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-command-3.bashA bash command demonstrating how to use yarn dlx to execute prisma migrate deploy for deploying database changes.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use yarn dlx to execute prisma migrate deploy for deploying database changes.
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-bunx-command.bashA bash command demonstrating how to deploy database changes using bunx and the prisma migrate deploy command.Exact payloads, commands, or snippets shown in A bash command demonstrating how to deploy database changes using bunx and the prisma migrate deploy command.
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-github-actions-workflow.yamlA GitHub Actions workflow configuration that automates applying pending Prisma migrations to a database on push to the main branch.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration that automates applying pending Prisma migrations to a database on push to th...
examples/deploying-database-changes-with-prisma-migrate-docs-orm-client-deploymen/prisma-migrate-deploy-github-actions-workflow-2.yamlA GitHub Actions workflow configuration demonstrating how to run migration safety checks and apply pending migrations using Prisma Migrate.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to run migration safety checks and apply pending migrations...
docs/deploy-migrations-from-a-local-environment-docs-orm-prisma-client-deploy/workflow-guide.mdA guide explaining how to deploy database migrations from a local environment using Prisma Client deployment strategies.Questions about a guide explaining how to deploy database migrations from a local environment using Prisma Client deployment strategies.
examples/deploy-migrations-from-a-local-environment-docs-orm-prisma-client-deploy/prisma-deploy-migrations-bash-command.bashA bash command demonstrating how to set the DATABASE_URL environment variable to deploy migrations to a production database.Exact payloads, commands, or snippets shown in A bash command demonstrating how to set the DATABASEURL environment variable to deploy migrations to a production dat...
docs/deploy-prisma-orm-docs-client-deployment/workflow-guide.mdA guide detailing the various cloud platform deployment strategies for projects using Prisma Client.Questions about a guide detailing the various cloud platform deployment strategies for projects using Prisma Client.
docs/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/workflow-guide.mdA guide detailing the steps and requirements for deploying the Prisma Client to Cloudflare Workers and Pages environments.Questions about a guide detailing the steps and requirements for deploying the Prisma Client to Cloudflare Workers and Pages environm...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-init-command.bashA bash command to initialize a Prisma project with a database connection for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a database connection for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-init-command.bashA bash command to initialize a Prisma project with a database using pnpm.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a database using pnpm.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-init-command-2.bashA bash command to initialize a Prisma project with a database connection for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a database connection for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-bun-init-command.bashA bash command to initialize a Prisma project using bun for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project using bun for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages.prismaA Prisma schema configuration optimized for deployment to Cloudflare Workers and Pages using an edge-compatible database provider.Exact payloads, commands, or snippets shown in A Prisma schema configuration optimized for deployment to Cloudflare Workers and Pages using an edge-compatible datab...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-config.tsA TypeScript configuration file for deploying Prisma Client to Cloudflare Workers and Pages using environment variables for the database URL.Exact payloads, commands, or snippets shown in A TypeScript configuration file for deploying Prisma Client to Cloudflare Workers and Pages using environment variabl...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-environment-setup.bashA bash script demonstrating how to set the DATABASE_URL environment variable for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash script demonstrating how to set the DATABASEURL environment variable for deploying Prisma to Cloudflare Worker...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-environment-variable-setup.bashA bash command demonstrating how to set the DATABASE_URL environment variable for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command demonstrating how to set the DATABASEURL environment variable for deploying Prisma to Cloudflare Worke...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-migrate-dev-command.bashA bash command using dotenv to execute prisma migrate dev within a Cloudflare Workers or Pages environment.Exact payloads, commands, or snippets shown in A bash command using dotenv to execute prisma migrate dev within a Cloudflare Workers or Pages environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-js-deployment-config.jsA JavaScript configuration snippet demonstrating the use of dotenv for environment variable management in a Cloudflare Workers deployment.Exact payloads, commands, or snippets shown in A JavaScript configuration snippet demonstrating the use of dotenv for environment variable management in a Cloudflar...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-secret-setup.bashA bash command to securely set the DATABASE_URL environment variable using the Wrangler CLI for Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command to securely set the DATABASEURL environment variable using the Wrangler CLI for Cloudflare Workers or...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-secret-setup-2.bashA bash command to securely set the DATABASE_URL environment variable using Wrangler for Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command to securely set the DATABASEURL environment variable using Wrangler for Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-secret-setup-3.bashA bash command to securely set the DATABASE_URL environment variable using Wrangler for Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command to securely set the DATABASEURL environment variable using Wrangler for Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-secret-setup-4.bashA bash command to set the DATABASE_URL secret using wrangler for Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command to set the DATABASEURL secret using wrangler for Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-setup-commands.bashBash commands to initialize a Cloudflare Worker project and install Prisma dependencies.Exact payloads, commands, or snippets shown in Bash commands to initialize a Cloudflare Worker project and install Prisma dependencies.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-worker-setup-commands.bashBash commands to initialize a Cloudflare Worker project with Prisma using pnpm.Exact payloads, commands, or snippets shown in Bash commands to initialize a Cloudflare Worker project with Prisma using pnpm.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-worker-setup.bashBash commands to initialize a Cloudflare Worker project with Prisma using the cloudflare create command and yarn.Exact payloads, commands, or snippets shown in Bash commands to initialize a Cloudflare Worker project with Prisma using the cloudflare create command and yarn.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-bash-setup.bashBash commands to initialize a Cloudflare Worker project with Prisma using Bun.Exact payloads, commands, or snippets shown in Bash commands to initialize a Cloudflare Worker project with Prisma using Bun.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-2.prismaA Prisma schema definition configured for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A Prisma schema definition configured for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-client-edge-deployment-cloudflare-workers-pages.prismaA Prisma schema configuration demonstrating the generator settings required to deploy the Prisma Client to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A Prisma schema configuration demonstrating the generator settings required to deploy the Prisma Client to Cloudflare...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-js-deployment.jsA JavaScript configuration example demonstrating how to deploy Prisma Client to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A JavaScript configuration example demonstrating how to deploy Prisma Client to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-bash-command.bashA bash command using npm run env to execute npx prisma for deploying to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command using npm run env to execute npx prisma for deploying to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-bash-command-2.bashA bash command using pnpm to execute prisma via an environment configuration for Cloudflare Workers and Pages deployment.Exact payloads, commands, or snippets shown in A bash command using pnpm to execute prisma via an environment configuration for Cloudflare Workers and Pages deploym...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-command.bashA bash command using npm and yarn dlx to execute prisma environment setup for Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command using npm and yarn dlx to execute prisma environment setup for Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-bash-command-3.bashA bash command using npm and bun to execute prisma commands within a Cloudflare Workers or Pages environment.Exact payloads, commands, or snippets shown in A bash command using npm and bun to execute prisma commands within a Cloudflare Workers or Pages environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-npm-install.bashThe bash command to install the Prisma PostgreSQL adapter required for deploying to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in The bash command to install the Prisma PostgreSQL adapter required for deploying to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-commands.bashBash commands for installing the Prisma PG adapter and configuring deployment for Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in Bash commands for installing the Prisma PG adapter and configuring deployment for Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-pg-adapter-install.bashBash command to install the Prisma PostgreSQL adapter for Cloudflare Workers and Pages environments.Exact payloads, commands, or snippets shown in Bash command to install the Prisma PostgreSQL adapter for Cloudflare Workers and Pages environments.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-bun-adapter-pg-install.bashA bash command to install the Prisma PostgreSQL adapter using the bun package manager for Cloudflare Workers and Pages deployment.Exact payloads, commands, or snippets shown in A bash command to install the Prisma PostgreSQL adapter using the bun package manager for Cloudflare Workers and Page...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-toml-config.tomlA TOML configuration file setting node_compat to true for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A TOML configuration file setting nodecompat to true for deploying Prisma to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-migration-command.bashA bash command to run prisma migrations using the npx prisma migrate dev command within a Cloudflare environment.Exact payloads, commands, or snippets shown in A bash command to run prisma migrations using the npx prisma migrate dev command within a Cloudflare environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-migration-command-2.bashA bash command to run prisma migrations using the env wrapper for Cloudflare deployment environments.Exact payloads, commands, or snippets shown in A bash command to run prisma migrations using the env wrapper for Cloudflare deployment environments.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-command-2.bashA bash command to run prisma migrations using yarn dlx within a Cloudflare environment.Exact payloads, commands, or snippets shown in A bash command to run prisma migrations using yarn dlx within a Cloudflare environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-migration-command-3.bashA bash command to run prisma migrations using bun within a Cloudflare Workers or Pages environment.Exact payloads, commands, or snippets shown in A bash command to run prisma migrations using bun within a Cloudflare Workers or Pages environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-client-cloudflare-workers-pages-typescript.tsA TypeScript example demonstrating how to initialize the Prisma Client with a database adapter within a Cloudflare Workers fetch handler.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize the Prisma Client with a database adapter within a Cloudflare Wo...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-dev-command.bashA bash command demonstrating how to use wrangler dev to run a Prisma Client deployment on Cloudflare Workers.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use wrangler dev to run a Prisma Client deployment on Cloudflare Workers.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-dev-command-2.bashA bash command to run the Wrangler development server for Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command to run the Wrangler development server for Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-wrangler-dev-command-3.bashA bash command to run the Wrangler development server for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command to run the Wrangler development server for deploying Prisma to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-bunx-wrangler-dev-command.bashA bash command used to run the Wrangler development server with Bun for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command used to run the Wrangler development server with Bun for deploying Prisma to Cloudflare Workers and Pa...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deploy-wrangler-command.bashA bash command demonstrating how to deploy a Prisma Client application to Cloudflare Workers or Pages using the Wrangler CLI.Exact payloads, commands, or snippets shown in A bash command demonstrating how to deploy a Prisma Client application to Cloudflare Workers or Pages using the Wrang...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deploy-wrangler-command-2.bashA bash command using pnpm dlx wrangler deploy to deploy a Prisma client to Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command using pnpm dlx wrangler deploy to deploy a Prisma client to Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deploy-command.bashA bash command using wrangler to deploy a Prisma-enabled application to Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command using wrangler to deploy a Prisma-enabled application to Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deploy-command-2.bashA bash command using bunx and wrangler to deploy a Prisma client to Cloudflare Workers or Pages.Exact payloads, commands, or snippets shown in A bash command using bunx and wrangler to deploy a Prisma client to Cloudflare Workers or Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-client-cloudflare-workers-pages-typescript-2.tsA TypeScript example demonstrating how to initialize the Prisma Client with an adapter for deployment on Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize the Prisma Client with an adapter for deployment on Cloudflare W...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment.prismaA Prisma schema configuration optimized for deployment to Cloudflare Workers and Pages using the Prisma Client Edge driver.Exact payloads, commands, or snippets shown in A Prisma schema configuration optimized for deployment to Cloudflare Workers and Pages using the Prisma Client Edge d...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-database-url-setup.bashA bash command setting the DATABASE_URL environment variable for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash command setting the DATABASEURL environment variable for deploying Prisma to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-npm-install-command.bashThe bash command to install the Prisma PlanetScale adapter for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in The bash command to install the Prisma PlanetScale adapter for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-commands-2.bashBash commands for installing the PlanetScale adapter and configuring Prisma for Cloudflare Workers and Pages deployment.Exact payloads, commands, or snippets shown in Bash commands for installing the PlanetScale adapter and configuring Prisma for Cloudflare Workers and Pages deployment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-bash-command-4.bashBash command to install the PlanetScale adapter for Prisma deployment on Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in Bash command to install the PlanetScale adapter for Prisma deployment on Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-bun-adapter-install.bashA bash command to add the Prisma PlanetScale adapter using the bun package manager for Cloudflare deployment.Exact payloads, commands, or snippets shown in A bash command to add the Prisma PlanetScale adapter using the bun package manager for Cloudflare deployment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-command-3.bashA bash command to push the database schema to the cloud environment using npx prisma db push.Exact payloads, commands, or snippets shown in A bash command to push the database schema to the cloud environment using npx prisma db push.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-command-4.bashA bash command to push the database schema to the cloud using the Prisma CLI within a Cloudflare environment.Exact payloads, commands, or snippets shown in A bash command to push the database schema to the cloud using the Prisma CLI within a Cloudflare environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-command-5.bashA bash command to push the database schema using prisma db push within a Cloudflare environment.Exact payloads, commands, or snippets shown in A bash command to push the database schema using prisma db push within a Cloudflare environment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-db-push-command.bashA bash command using bun to execute prisma db push for Cloudflare Workers and Pages deployment.Exact payloads, commands, or snippets shown in A bash command using bun to execute prisma db push for Cloudflare Workers and Pages deployment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-client-cloudflare-workers-pages-typescript-3.tsA TypeScript example demonstrating how to instantiate PrismaClient with an adapter for deployment on Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate PrismaClient with an adapter for deployment on Cloudflare Worke...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-environment-variables.bashA bash script demonstrating the configuration of the DATABASE_URL environment variable for deploying Prisma to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in A bash script demonstrating the configuration of the DATABASEURL environment variable for deploying Prisma to Cloudfl...
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-neon-adapter-install.bashThe bash command to install the Prisma Neon adapter for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in The bash command to install the Prisma Neon adapter for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-deployment-commands-3.bashBash commands for installing the Neon adapter and configuring Prisma for Cloudflare Workers and Pages deployment.Exact payloads, commands, or snippets shown in Bash commands for installing the Neon adapter and configuring Prisma for Cloudflare Workers and Pages deployment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-neon-adapter-install-2.bashBash command to install the Prisma Neon adapter for deployment to Cloudflare Workers and Pages.Exact payloads, commands, or snippets shown in Bash command to install the Prisma Neon adapter for deployment to Cloudflare Workers and Pages.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-cloudflare-workers-pages-bun-adapter-neon-install.bashA bash command to add the Prisma Neon adapter to a project using the Bun package manager for Cloudflare deployment.Exact payloads, commands, or snippets shown in A bash command to add the Prisma Neon adapter to a project using the Bun package manager for Cloudflare deployment.
examples/deploy-to-cloudflare-workers-pages-docs-orm-prisma-client-deployment-edg/prisma-client-cloudflare-workers-pages-typescript-4.tsA TypeScript example demonstrating how to initialize the Prisma Client with a database adapter within a Cloudflare Workers fetch handler.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize the Prisma Client with a database adapter within a Cloudflare Wo...
docs/deploy-to-deno-docs-orm-prisma-client-deployment-edge/workflow-guide.mdA guide explaining how to build and deploy a REST API using Prisma Client to the Deno Deploy platform.Questions about a guide explaining how to build and deploy a REST API using Prisma Client to the Deno Deploy platform.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-client-deno-deploy-setup.bashBash commands to initialize a project directory and run the Prisma CLI to configure deployment for Deno Deploy.Exact payloads, commands, or snippets shown in Bash commands to initialize a project directory and run the Prisma CLI to configure deployment for Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-setup-commands.bashBash commands to initialize a project directory and run the Prisma CLI for Deno Deploy deployment.Exact payloads, commands, or snippets shown in Bash commands to initialize a project directory and run the Prisma CLI for Deno Deploy deployment.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-setup-commands-2.bashBash commands to initialize a project directory and run the Prisma CLI using Deno to configure a deployment to Deno Deploy.Exact payloads, commands, or snippets shown in Bash commands to initialize a project directory and run the Prisma CLI using Deno to configure a deployment to Deno D...
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-deno-json-configuration.jsonA deno.json configuration file specifying imports and tasks for deploying Prisma Client to Deno Deploy.Exact payloads, commands, or snippets shown in A deno.json configuration file specifying imports and tasks for deploying Prisma Client to Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-install-command.bashA bash command to install the Deno deployment tool using the deno install command.Exact payloads, commands, or snippets shown in A bash command to install the Deno deployment tool using the deno install command.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-edge-runtime.prismaA Prisma schema file configured with the deno runtime generator for deployment to Deno Deploy.Exact payloads, commands, or snippets shown in A Prisma schema file configured with the deno runtime generator for deployment to Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-db-push-command.bashA bash command used to push the database schema to a remote database when deploying Prisma to Deno Deploy.Exact payloads, commands, or snippets shown in A bash command used to push the database schema to a remote database when deploying Prisma to Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-client-deno-deploy-postgres-adapter-typescript.tsA TypeScript implementation demonstrating how to initialize Prisma Client with a Postgres adapter for deployment on Deno Deploy.Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize Prisma Client with a Postgres adapter for deployment on D...
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-dev-task-command.bashA bash command used to run the development task for deploying Prisma to Deno Deploy.Exact payloads, commands, or snippets shown in A bash command used to run the development task for deploying Prisma to Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-edge-deployment-commands.bashBash commands for interacting with the local API to manage tasks as part of the Deno Deploy deployment workflow.Exact payloads, commands, or snippets shown in Bash commands for interacting with the local API to manage tasks as part of the Deno Deploy deployment workflow.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-edge-environment-variables.textA list of required environment variables and configuration files for deploying Prisma Client to Deno Deploy.Exact payloads, commands, or snippets shown in A list of required environment variables and configuration files for deploying Prisma Client to Deno Deploy.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-git-initialization-commands.bashBash commands to initialize a git repository and push code to a remote repository for Deno Deploy deployment.Exact payloads, commands, or snippets shown in Bash commands to initialize a git repository and push code to a remote repository for Deno Deploy deployment.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-curl-api-commands.bashBash commands using curl to interact with a Deno Deploy project URL for testing and task management.Exact payloads, commands, or snippets shown in Bash commands using curl to interact with a Deno Deploy project URL for testing and task management.
examples/deploy-to-deno-docs-orm-prisma-client-deployment-edge/prisma-deno-deploy-project-structure.textA directory tree structure showing the file organization for a Prisma project configured for deployment to Deno Deploy.Exact payloads, commands, or snippets shown in A directory tree structure showing the file organization for a Prisma project configured for deployment to Deno Deploy.
docs/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/workflow-guide.mdA guide detailing the steps and requirements for deploying Prisma Client to Vercel Edge Functions and Middleware.Questions about a guide detailing the steps and requirements for deploying Prisma Client to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-client-vercel-edge-runtime.typescriptA TypeScript example demonstrating how to configure the Vercel edge runtime for Prisma Client deployment.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Vercel edge runtime for Prisma Client deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment.prismaA Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-deployment-typescript.tsA TypeScript configuration file demonstrating how to deploy Prisma Client to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to deploy Prisma Client to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-env-setup.bashBash commands to add the DATABASE_URL environment variable to a Vercel project for Edge Functions and Middleware deployment.Exact payloads, commands, or snippets shown in Bash commands to add the DATABASEURL environment variable to a Vercel project for Edge Functions and Middleware deplo...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-setup.bashA bash command to add the DATABASE_URL environment variable to a Vercel project using the Vercel CLI.Exact payloads, commands, or snippets shown in A bash command to add the DATABASEURL environment variable to a Vercel project using the Vercel CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-add-database-url.bashA bash command using yarn dlx to add the DATABASE_URL environment variable to a Vercel project for edge function deployment.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to add the DATABASEURL environment variable to a Vercel project for edge function deplo...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-add-command.bashA bash command using bunx to add a DATABASE_URL environment variable to a Vercel project for edge function deployment.Exact payloads, commands, or snippets shown in A bash command using bunx to add a DATABASEURL environment variable to a Vercel project for edge function deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-js-deployment.jsA JavaScript configuration and implementation example for deploying Prisma Client to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A JavaScript configuration and implementation example for deploying Prisma Client to Vercel Edge Functions and Middle...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-cli.bashThe bash command to install the Vercel CLI globally for deploying Prisma to edge functions and middleware.Exact payloads, commands, or snippets shown in The bash command to install the Vercel CLI globally for deploying Prisma to edge functions and middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-vercel-cli.bashCommand to install the Vercel CLI globally using pnpm for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Command to install the Vercel CLI globally using pnpm for deploying Prisma to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-command.bashThe bash command to globally install the Vercel CLI using yarn.Exact payloads, commands, or snippets shown in The bash command to globally install the Vercel CLI using yarn.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-setup.bashBash commands to install the Vercel CLI globally using bun for deploying Prisma to edge functions and middleware.Exact payloads, commands, or snippets shown in Bash commands to install the Vercel CLI globally using bun for deploying Prisma to edge functions and middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-nextjs-setup.bashA bash command to initialize a new Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command to initialize a new Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-nextjs-setup-2.bashBash commands to initialize a Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash commands to initialize a Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-nextjs-setup-3.bashBash commands to initialize a Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash commands to initialize a Next.js application for deploying Prisma to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-nextjs-setup-4.bashA bash command to initialize a new Next.js application using bunx for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command to initialize a new Next.js application using bunx for deploying Prisma to Vercel Edge Functions and M...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-commands.bashBash commands to install the Prisma CLI and Prisma Client as dependencies for Vercel Edge deployment.Exact payloads, commands, or snippets shown in Bash commands to install the Prisma CLI and Prisma Client as dependencies for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-installation-commands.bashBash commands to install prisma and @prisma/client using pnpm for Vercel Edge deployment.Exact payloads, commands, or snippets shown in Bash commands to install prisma and @prisma/client using pnpm for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-installation-commands-2.bashBash commands to install prisma and @prisma/client dependencies for Vercel Edge deployment.Exact payloads, commands, or snippets shown in Bash commands to install prisma and @prisma/client dependencies for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-bun-install-commands.bashBash commands to install prisma and @prisma/client using the bun package manager for Vercel Edge deployment.Exact payloads, commands, or snippets shown in Bash commands to install prisma and @prisma/client using the bun package manager for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-init-vercel-edge-directory.bashA bash command to initialize Prisma with a custom output directory for Vercel Edge Function compatibility.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for Vercel Edge Function compatibility.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-init-vercel-edge-directory-2.bashA bash command to initialize Prisma with a custom output directory for Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-init-vercel-edge-directory-3.bashA bash command to initialize Prisma with a custom output directory for Vercel Edge Function compatibility.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for Vercel Edge Function compatibility.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-init-bunx-command.bashA bash command using bunx to initialize Prisma with a specific output directory for Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command using bunx to initialize Prisma with a specific output directory for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-2.prismaA Prisma schema definition configured for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A Prisma schema definition configured for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-typescript-config.tsA TypeScript configuration file using defineConfig to set up Prisma for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript configuration file using defineConfig to set up Prisma for deployment to Vercel Edge Functions and Middl...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-3.prismaA Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-typescript-configuration.tsA TypeScript configuration file demonstrating how to set up Prisma Client for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to set up Prisma Client for deployment to Vercel Edge Functions and...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-environment-variables.bashBash commands to set the POSTGRES_PRISMA_URL and POSTGRES_URL_NONPOOLING environment variables for deploying Prisma to Vercel Edge Functions.Exact payloads, commands, or snippets shown in Bash commands to set the POSTGRESPRISMAURL and POSTGRESURLNONPOOLING environment variables for deploying Prisma to Ve...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-command-2.bashBash command to install the Prisma Neon adapter required for deploying to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to install the Prisma Neon adapter required for deploying to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-neon-adapter-install.bashBash command to install the Prisma Neon adapter for deploying to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to install the Prisma Neon adapter for deploying to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-neon-adapter-install-2.bashBash commands to install the Prisma Neon adapter for deploying to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash commands to install the Prisma Neon adapter for deploying to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-bun-install-adapter-neon.bashA bash command to install the Prisma Neon adapter using the bun package manager for Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command to install the Prisma Neon adapter using the bun package manager for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-js-deployment-2.jsA JavaScript configuration example demonstrating how to set up Prisma Client for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A JavaScript configuration example demonstrating how to set up Prisma Client for deployment to Vercel Edge Functions...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-migration-command.bashA bash command to initialize a database migration using the Prisma CLI.Exact payloads, commands, or snippets shown in A bash command to initialize a database migration using the Prisma CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-migration-command.bashA bash command to initialize a database migration using pnpm and prisma for deployment to Vercel Edge Functions.Exact payloads, commands, or snippets shown in A bash command to initialize a database migration using pnpm and prisma for deployment to Vercel Edge Functions.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-migration-command-2.bashA bash command to initialize a database migration using the Prisma CLI.Exact payloads, commands, or snippets shown in A bash command to initialize a database migration using the Prisma CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-migration-bunx-command.bashA bash command using bunx to run a Prisma database migration for Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command using bunx to run a Prisma database migration for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-setup-2.bashBash commands to create the directory structure and files required for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash commands to create the directory structure and files required for deploying Prisma to Vercel Edge Functions and...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-typescript.tsA TypeScript example demonstrating how to configure the Prisma Client with a database adapter for deployment on Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Prisma Client with a database adapter for deployment on Verce...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-deployment.bashBash commands to run the development server for a Prisma project deployed to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash commands to run the development server for a Prisma project deployed to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-deployment-command.bashA bash command to run the development server for a Prisma project configured for Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command to run the development server for a Prisma project configured for Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-deployment-2.bashBash command to run the development server for a Prisma project deployed to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to run the development server for a Prisma project deployed to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-deployment-3.bashBash command to run the development server for a Prisma project configured for Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to run the development server for a Prisma project configured for Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-command.bashA bash command to deploy a project to Vercel using the npx vercel deploy CLI.Exact payloads, commands, or snippets shown in A bash command to deploy a project to Vercel using the npx vercel deploy CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-command-2.bashA bash command using pnpm to deploy a project to Vercel via the Vercel CLI.Exact payloads, commands, or snippets shown in A bash command using pnpm to deploy a project to Vercel via the Vercel CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-command-3.bashA bash command using yarn dlx to deploy a project to Vercel.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to deploy a project to Vercel.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deploy-command.bashA bash command using bunx to deploy a project to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command using bunx to deploy a project to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-setup-2.bashA bash command to add the POSTGRES_PRISMA_URL environment variable to a Vercel project for edge function deployment.Exact payloads, commands, or snippets shown in A bash command to add the POSTGRESPRISMAURL environment variable to a Vercel project for edge function deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-setup-3.bashA bash command to add the POSTGRES_PRISMA_URL environment variable to a Vercel project using the Vercel CLI.Exact payloads, commands, or snippets shown in A bash command to add the POSTGRESPRISMAURL environment variable to a Vercel project using the Vercel CLI.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-add-command-2.bashA bash command using yarn dlx to add a PostgreSQL Prisma URL to Vercel environment variables.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to add a PostgreSQL Prisma URL to Vercel environment variables.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-env-add-command-3.bashA bash command using bunx to add a POSTGRES_PRISMA_URL environment variable to a Vercel project.Exact payloads, commands, or snippets shown in A bash command using bunx to add a POSTGRESPRISMAURL environment variable to a Vercel project.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-4.prismaA Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A Prisma schema configuration optimized for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-database-url-setup.bashA bash command setting the DATABASE_URL environment variable for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command setting the DATABASEURL environment variable for deploying Prisma to Vercel Edge Functions and Middlew...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-install-adapter.bashBash command to install the Prisma PlanetScale adapter for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to install the Prisma PlanetScale adapter for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-planetscale-adapter-install.bashBash command to install the Prisma PlanetScale adapter for deployment to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in Bash command to install the Prisma PlanetScale adapter for deployment to Vercel Edge Functions and Middleware.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-setup-3.bashBash commands to install the PlanetScale adapter and necessary dependencies for deploying Prisma to Vercel Edge Functions.Exact payloads, commands, or snippets shown in Bash commands to install the PlanetScale adapter and necessary dependencies for deploying Prisma to Vercel Edge Funct...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-bun-install-adapter.bashA bash command to install the PlanetScale adapter using bun for Prisma deployment on Vercel Edge Functions.Exact payloads, commands, or snippets shown in A bash command to install the PlanetScale adapter using bun for Prisma deployment on Vercel Edge Functions.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-db-push-command.bashA bash command to push the Prisma schema to the database for Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command to push the Prisma schema to the database for Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-db-push-command-2.bashA bash command using pnpm to push the database schema to the database provider during Vercel Edge deployment.Exact payloads, commands, or snippets shown in A bash command using pnpm to push the database schema to the database provider during Vercel Edge deployment.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-deployment-db-push-command-3.bashA bash command using yarn dlx to push the database schema to the database provider.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to push the database schema to the database provider.
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-bun-db-push.bashA bash command using bunx to push the Prisma database schema to a deployment target for Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command using bunx to push the Prisma database schema to a deployment target for Vercel Edge Functions and Mid...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-typescript-2.tsA TypeScript example demonstrating how to configure the Prisma Client with an adapter to run within Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Prisma Client with an adapter to run within Vercel Edge Funct...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-database-url-env-setup.bashA bash command setting the DATABASE_URL environment variable for deploying Prisma to Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A bash command setting the DATABASEURL environment variable for deploying Prisma to Vercel Edge Functions and Middlew...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-vercel-edge-functions-middleware-typescript-3.tsA TypeScript example demonstrating how to configure the Prisma Client with a database adapter for deployment on Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Prisma Client with a database adapter for deployment on Verce...
examples/deploy-to-vercel-edge-functions-middleware-docs-orm-prisma-client-deploy/prisma-client-vercel-edge-functions-middleware-typescript-setup.tsA TypeScript implementation demonstrating how to configure the Prisma Client with a PostgreSQL adapter for deployment on Vercel Edge Functions and Middleware.Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to configure the Prisma Client with a PostgreSQL adapter for deployment...
docs/deploying-edge-functions-with-prisma-orm-docs-client-deployment-overview/workflow-guide.mdAn overview of the requirements and methods for deploying applications using Prisma ORM to edge functions.Questions about an overview of the requirements and methods for deploying applications using Prisma ORM to edge functions.
docs/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/workflow-guide.mdA guide explaining how to deploy Prisma Client to an AWS Lambda function.Questions about a guide explaining how to deploy Prisma Client to an AWS Lambda function.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-aws-lambda-serverless-plugin-install.bashBash command to install the serverless-dotenv-plugin for deploying Prisma to AWS Lambda using the Serverless Framework.Exact payloads, commands, or snippets shown in Bash command to install the serverless-dotenv-plugin for deploying Prisma to AWS Lambda using the Serverless Framework.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-aws-lambda-serverless-plugin-installation.bashBash commands to install the serverless-dotenv-plugin using pnpm for Prisma AWS Lambda deployment.Exact payloads, commands, or snippets shown in Bash commands to install the serverless-dotenv-plugin using pnpm for Prisma AWS Lambda deployment.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-aws-lambda-serverless-plugin-installation-2.bashBash commands to install the serverless-dotenv-plugin for deploying Prisma to AWS Lambda using the Serverless Framework.Exact payloads, commands, or snippets shown in Bash commands to install the serverless-dotenv-plugin for deploying Prisma to AWS Lambda using the Serverless Framework.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-aws-lambda-serverless-plugin-installation-3.bashA bash command to install the serverless-dotenv-plugin using bun for Prisma AWS Lambda deployment.Exact payloads, commands, or snippets shown in A bash command to install the serverless-dotenv-plugin using bun for Prisma AWS Lambda deployment.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-serverless-framework-aws-lambda-yaml-configuration.yamlA YAML configuration file for the Serverless Framework to deploy a Prisma Client to AWS Lambda using the serverless-dotenv-plugin.Exact payloads, commands, or snippets shown in A YAML configuration file for the Serverless Framework to deploy a Prisma Client to AWS Lambda using the serverless-d...
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-aws-lambda-serverless-package.bashA bash command demonstrating how to use the serverless package command to prepare a Prisma client for AWS Lambda deployment.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the serverless package command to prepare a Prisma client for AWS Lambda depl...
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-deploy-to-aws-lambda-serverless-framework.bashBash commands for packaging and deploying a Prisma Client application to AWS Lambda using the Serverless Framework.Exact payloads, commands, or snippets shown in Bash commands for packaging and deploying a Prisma Client application to AWS Lambda using the Serverless Framework.
examples/deploy-to-aws-lambda-docs-orm-prisma-client-deployment-serverless/prisma-client-aws-lambda-typescript-singleton-adapter.tsA TypeScript implementation of a Prisma Client singleton using a database adapter for deployment to AWS Lambda.Exact payloads, commands, or snippets shown in A TypeScript implementation of a Prisma Client singleton using a database adapter for deployment to AWS Lambda.
docs/deploy-to-azure-functions-docs-orm-prisma-client-deployment-serverless-f/workflow-guide.mdA guide explaining how to deploy the Prisma Client to Azure Functions and avoid common Node.js deployment issues.Questions about a guide explaining how to deploy the Prisma Client to Azure Functions and avoid common Node.js deployment issues.
docs/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/workflow-guide.mdA guide detailing the steps required to deploy an application using Prisma Client to a Netlify serverless environment.Questions about a guide detailing the steps required to deploy an application using Prisma Client to a Netlify serverless environment.
examples/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/prisma-client-netlify-deployment-database-url-configuration.textA text configuration example showing how to define the DATABASE_URL environment variable for deploying Prisma Client to Netlify.Exact payloads, commands, or snippets shown in A text configuration example showing how to define the DATABASEURL environment variable for deploying Prisma Client t...
examples/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/prisma-netlify-env-import-command.bashA bash command to import environment variables from a .env file into Netlify using the Netlify CLI.Exact payloads, commands, or snippets shown in A bash command to import environment variables from a .env file into Netlify using the Netlify CLI.
examples/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/prisma-netlify-deployment-environment-variables-config.bashA configuration snippet defining the required environment variables for deploying a Prisma Client to Netlify.Exact payloads, commands, or snippets shown in A configuration snippet defining the required environment variables for deploying a Prisma Client to Netlify.
examples/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/prisma-netlify-admin-open-command.bashA bash command used to open the Netlify admin interface for managing deployment settings.Exact payloads, commands, or snippets shown in A bash command used to open the Netlify admin interface for managing deployment settings.
examples/deploy-to-netlify-docs-orm-prisma-client-deployment-serverless/prisma-client-netlify-deploy-command.bashA bash command demonstrating how to deploy a Prisma Client application to Netlify using the netlify deploy CLI.Exact payloads, commands, or snippets shown in A bash command demonstrating how to deploy a Prisma Client application to Netlify using the netlify deploy CLI.
docs/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/workflow-guide.mdA guide detailing the steps and configurations required to deploy Prisma Client applications to the Vercel platform.Questions about a guide detailing the steps and configurations required to deploy Prisma Client applications to the Vercel platform.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-deployment-package-json-configuration.jsonA package.json configuration snippet showing the postinstall script required to generate the Prisma Client during Vercel deployment.Exact payloads, commands, or snippets shown in A package.json configuration snippet showing the postinstall script required to generate the Prisma Client during Ver...
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-build-scripts.jsonA JSON configuration snippet showing the vercel-build script command for running prisma generate, prisma migrate deploy, and next build.Exact payloads, commands, or snippets shown in A JSON configuration snippet showing the vercel-build script command for running prisma generate, prisma migrate depl...
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-build-command.bashA bash command snippet demonstrating the npm build script required to deploy Prisma Client to Vercel.Exact payloads, commands, or snippets shown in A bash command snippet demonstrating the npm build script required to deploy Prisma Client to Vercel.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-build-command-pnpm.bashA bash command demonstrating how to run the vercel-build script using pnpm for Prisma deployment on Vercel.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the vercel-build script using pnpm for Prisma deployment on Vercel.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-build-command-yarn.bashA bash command snippet demonstrating the use of yarn vercel-build for deploying Prisma to Vercel.Exact payloads, commands, or snippets shown in A bash command snippet demonstrating the use of yarn vercel-build for deploying Prisma to Vercel.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-build-command-bun.bashA bash command demonstrating how to use bun to run the vercel-build script for Prisma deployment on Vercel.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bun to run the vercel-build script for Prisma deployment on Vercel.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-vercel-deployment-database-connection-string.bashA bash example showing the format of a PostgreSQL connection string used for deploying Prisma to Vercel.Exact payloads, commands, or snippets shown in A bash example showing the format of a PostgreSQL connection string used for deploying Prisma to Vercel.
examples/deploy-to-vercel-docs-orm-prisma-client-deployment-serverless/prisma-client-vercel-serverless-pg-adapter-typescript.tsA TypeScript example demonstrating how to configure the Prisma Client with a PostgreSQL adapter for deployment on Vercel serverless functions.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Prisma Client with a PostgreSQL adapter for deployment on Ver...
docs/deploy-to-fly-io-docs-orm-prisma-client-deployment-traditional-flyio/workflow-guide.mdA guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Fly.io platform.Questions about a guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Fly.io platform.
examples/deploy-to-fly-io-docs-orm-prisma-client-deployment-traditional-flyio/prisma-deploy-to-flyio-bash-commands.bashBash commands to download and extract the Prisma deployment example for Fly.io from the official repository.Exact payloads, commands, or snippets shown in Bash commands to download and extract the Prisma deployment example for Fly.io from the official repository.
docs/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/workflow-guide.mdA guide detailing the steps and configuration required to deploy a Prisma Client application to Heroku.Questions about a guide detailing the steps and configuration required to deploy a Prisma Client application to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-setup-commands.bashBash commands to create a directory and download the Prisma Heroku deployment example repository.Exact payloads, commands, or snippets shown in Bash commands to create a directory and download the Prisma Heroku deployment example repository.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-project-structure.bashA bash command listing the directory structure of a project configured for traditional deployment to Heroku using Prisma.Exact payloads, commands, or snippets shown in A bash command listing the directory structure of a project configured for traditional deployment to Heroku using Pri...
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-npm-install.bashA bash command sequence for installing dependencies required to deploy Prisma to Heroku.Exact payloads, commands, or snippets shown in A bash command sequence for installing dependencies required to deploy Prisma to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-pnpm-install.bashA bash command sequence demonstrating how to install dependencies using pnpm for a Prisma deployment on Heroku.Exact payloads, commands, or snippets shown in A bash command sequence demonstrating how to install dependencies using pnpm for a Prisma deployment on Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-bash-commands.bashBash commands for installing dependencies and deploying a Prisma client to Heroku.Exact payloads, commands, or snippets shown in Bash commands for installing dependencies and deploying a Prisma client to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-bun-install-command.bashA bash command demonstrating how to use bun to install dependencies for a Prisma deployment on Heroku.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bun to install dependencies for a Prisma deployment on Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-bash-commands-2.bashA sequence of bash commands for initializing a git repository and preparing a Prisma project for deployment to Heroku.Exact payloads, commands, or snippets shown in A sequence of bash commands for initializing a git repository and preparing a Prisma project for deployment to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands.bashA sequence of bash commands for configuring git branches and preparing a Prisma project for deployment to Heroku.Exact payloads, commands, or snippets shown in A sequence of bash commands for configuring git branches and preparing a Prisma project for deployment to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands-2.bashA sequence of bash commands for committing changes and preparing a Prisma project for deployment to Heroku.Exact payloads, commands, or snippets shown in A sequence of bash commands for committing changes and preparing a Prisma project for deployment to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-git-log-command.bashA bash command used to verify the latest git commit hash during a Prisma deployment to Heroku.Exact payloads, commands, or snippets shown in A bash command used to verify the latest git commit hash during a Prisma deployment to Heroku.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands-3.bashA sequence of bash commands for logging into Heroku and configuring the environment for Prisma deployment.Exact payloads, commands, or snippets shown in A sequence of bash commands for logging into Heroku and configuring the environment for Prisma deployment.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-auth-whoami.bashA bash command to verify the currently authenticated Heroku user account.Exact payloads, commands, or snippets shown in A bash command to verify the currently authenticated Heroku user account.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-heroku-cli-commands.bashA sequence of Heroku CLI commands used to create an application and configure it for Prisma deployment.Exact payloads, commands, or snippets shown in A sequence of Heroku CLI commands used to create an application and configure it for Prisma deployment.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-app-creation-commands.bashBash commands for creating a new Heroku application via the Heroku CLI.Exact payloads, commands, or snippets shown in Bash commands for creating a new Heroku application via the Heroku CLI.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands-4.bashBash commands for fetching and pushing code to a Heroku application repository.Exact payloads, commands, or snippets shown in Bash commands for fetching and pushing code to a Heroku application repository.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands-5.bashBash commands for configuring a Heroku git remote for a Prisma application.Exact payloads, commands, or snippets shown in Bash commands for configuring a Heroku git remote for a Prisma application.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-postgresql-addon-creation.bashA bash command to create a Heroku PostgreSQL addon for a Prisma deployment.Exact payloads, commands, or snippets shown in A bash command to create a Heroku PostgreSQL addon for a Prisma deployment.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-heroku-bash-commands-6.bashBash commands for creating a Heroku PostgreSQL database and configuring the DATABASE_URL for Prisma deployment.Exact payloads, commands, or snippets shown in Bash commands for creating a Heroku PostgreSQL database and configuring the DATABASEURL for Prisma deployment.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-git-push-command.bashA bash command used to deploy a Prisma application to Heroku using git push.Exact payloads, commands, or snippets shown in A bash command used to deploy a Prisma application to Heroku using git push.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-release-command-logs.bashBash terminal output showing a successful Heroku deployment process including the Prisma release command execution.Exact payloads, commands, or snippets shown in Bash terminal output showing a successful Heroku deployment process including the Prisma release command execution.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-server-logs.bashBash log output showing a Prisma application starting up on a Heroku web dyno.Exact payloads, commands, or snippets shown in Bash log output showing a Prisma application starting up on a Heroku web dyno.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-heroku-deployment-nodejs-server-setup.jsA Node.js server configuration snippet demonstrating how to listen on a dynamic port for Heroku deployment.Exact payloads, commands, or snippets shown in A Node.js server configuration snippet demonstrating how to listen on a dynamic port for Heroku deployment.
examples/deploy-to-heroku-docs-orm-prisma-client-deployment-traditional/prisma-client-heroku-deployment-js-connection-string-config.jsA JavaScript code snippet demonstrating how to configure the Prisma Client connection string with SSL parameters for a Heroku deployment.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to configure the Prisma Client connection string with SSL parameters for...
docs/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/workflow-guide.mdA guide for deploying a Node.js server using Prisma ORM and PostgreSQL to the Koyeb platform.Questions about a guide for deploying a Node.js server using Prisma ORM and PostgreSQL to the Koyeb platform.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment-bash-commands.bashBash commands to create a directory and download the Koyeb Prisma example repository.Exact payloads, commands, or snippets shown in Bash commands to create a directory and download the Koyeb Prisma example repository.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment-bash-commands-2.bashBash commands and directory structure for deploying a Prisma Client application to the Koyeb platform.Exact payloads, commands, or snippets shown in Bash commands and directory structure for deploying a Prisma Client application to the Koyeb platform.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-deploy-to-koyeb-bash-commands.bashBash commands for installing dependencies and preparing a Prisma Client for deployment on Koyeb.Exact payloads, commands, or snippets shown in Bash commands for installing dependencies and preparing a Prisma Client for deployment on Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment-bash-commands-3.bashBash commands for installing dependencies and preparing a Prisma Client deployment on Koyeb.Exact payloads, commands, or snippets shown in Bash commands for installing dependencies and preparing a Prisma Client deployment on Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-deploy-to-koyeb-bash-commands-2.bashBash commands for installing dependencies and preparing a Prisma Client deployment on Koyeb.Exact payloads, commands, or snippets shown in Bash commands for installing dependencies and preparing a Prisma Client deployment on Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-deploy-to-koyeb.bashBash commands for installing dependencies and deploying a Prisma Client application to Koyeb.Exact payloads, commands, or snippets shown in Bash commands for installing dependencies and deploying a Prisma Client application to Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-deploy-to-koyeb-bash-commands-3.bashA sequence of bash commands for initializing a git repository and preparing a Prisma project for deployment to Koyeb.Exact payloads, commands, or snippets shown in A sequence of bash commands for initializing a git repository and preparing a Prisma project for deployment to Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment-bash-commands-4.bashBash commands for committing changes and preparing a Prisma Client deployment for Koyeb.Exact payloads, commands, or snippets shown in Bash commands for committing changes and preparing a Prisma Client deployment for Koyeb.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment-git-log-command.bashA bash command showing the recent git commit hash used for deployment tracking.Exact payloads, commands, or snippets shown in A bash command showing the recent git commit hash used for deployment tracking.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-koyeb-git-remote-setup.bashBash commands to add a GitHub remote origin and push the local repository to the main branch for Koyeb deployment.Exact payloads, commands, or snippets shown in Bash commands to add a GitHub remote origin and push the local repository to the main branch for Koyeb deployment.
examples/deploy-to-koyeb-docs-orm-prisma-client-deployment-traditional/prisma-client-koyeb-deployment.bashBash terminal output showing a successful Prisma Client application startup on a Koyeb deployment environment.Exact payloads, commands, or snippets shown in Bash terminal output showing a successful Prisma Client application startup on a Koyeb deployment environment.
docs/deploy-to-railway-docs-orm-prisma-client-deployment-traditional/workflow-guide.mdA guide explaining how to deploy an application using Prisma ORM and Prisma Postgres to the Railway platform.Questions about a guide explaining how to deploy an application using Prisma ORM and Prisma Postgres to the Railway platform.
docs/deploy-to-render-docs-orm-prisma-client-deployment-traditional/workflow-guide.mdA guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Render platform.Questions about a guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Render platform.
examples/deploy-to-render-docs-orm-prisma-client-deployment-traditional/prisma-deploy-to-render-bash-commands.bashBash commands to download and extract the Prisma deployment example for the Render platform.Exact payloads, commands, or snippets shown in Bash commands to download and extract the Prisma deployment example for the Render platform.
docs/deploy-to-sevalla-docs-orm-prisma-client-deployment-traditional/workflow-guide.mdA guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Sevalla platform.Questions about a guide explaining how to deploy a Node.js server using Prisma ORM and PostgreSQL to the Sevalla platform.
examples/deploy-to-sevalla-docs-orm-prisma-client-deployment-traditional/prisma-client-deploy-to-sevalla-bash-command.bashA bash command to execute the prisma db seed operation for deployment to Sevalla.Exact payloads, commands, or snippets shown in A bash command to execute the prisma db seed operation for deployment to Sevalla.
examples/deploy-to-sevalla-docs-orm-prisma-client-deployment-traditional/prisma-db-seed-pnpm-command.bashA bash command using pnpm to execute the prisma db seed operation for database initialization.Exact payloads, commands, or snippets shown in A bash command using pnpm to execute the prisma db seed operation for database initialization.
examples/deploy-to-sevalla-docs-orm-prisma-client-deployment-traditional/prisma-client-sevalla-db-seed-command.bashA bash command using yarn dlx to execute the prisma db seed operation for deployment to Sevalla.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to execute the prisma db seed operation for deployment to Sevalla.
examples/deploy-to-sevalla-docs-orm-prisma-client-deployment-traditional/prisma-client-sevalla-db-seed-bunx-command.bashA bash command using bunx to execute the prisma db seed operation for deployment to Sevalla.Exact payloads, commands, or snippets shown in A bash command using bunx to execute the prisma db seed operation for deployment to Sevalla.
docs/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/workflow-guide.mdA guide explaining how to use Prisma Client to count records, aggregate numeric fields, and group data using aggregation and grouping operations.Questions about a guide explaining how to use Prisma Client to count records, aggregate numeric fields, and group data using aggregat...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregate-user-age-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client aggregate function to calculate the average age of users.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client aggregate function to calculate the average age...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregate-user-age-typescript-2.tsA TypeScript example demonstrating how to use the Prisma Client aggregate function to calculate the average age of users.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client aggregate function to calculate the average age of us...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregate-user-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client aggregate function to calculate average and count values for a user model.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client aggregate function to calculate average and coun...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum.jsonA JSON object representing the output of a Prisma Client aggregation query including average, count, and sum operations.Exact payloads, commands, or snippets shown in A JSON object representing the output of a Prisma Client aggregation query including average, count, and sum operations.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-sum-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to calculate the sum of profile views per country.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to calculate the sum of profile v...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-2.jsonA JSON array representing the results of a Prisma Client aggregation query grouping profile views by country.Exact payloads, commands, or snippets shown in A JSON array representing the results of a Prisma Client aggregation query grouping profile views by country.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.groupBy method to aggregate user data by country.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.groupBy method to aggregate user data by country.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-sum-typescript-2.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and sum user profile views by country.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and sum user profile...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-user-aggregation-typescript.tsA TypeScript example demonstrating how to use the prisma.user.groupBy method with where, sum, and having clauses to aggregate user profile views by country.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.groupBy method with where, sum, and having clauses to a...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-typescript-aggregation-grouping-sum.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and sum user profile views by country.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and sum user profile...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-aggregation-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and summarize user data by country.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate and summarize user d...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-typescript-2.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate user data by city.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to aggregate user data by city.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-3.jsonA JSON array representing the output of a Prisma Client aggregation query grouped by city with count values.Exact payloads, commands, or snippets shown in A JSON array representing the output of a Prisma Client aggregation query grouped by city with count values.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-groupby-sum-typescript-3.tsA TypeScript code example demonstrating how to use the Prisma Client groupBy method to calculate sums for specific fields.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client groupBy method to calculate sums for specific fi...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-2.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and summation queries on a user model.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and summation quer...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-count-results.jsonA JSON object representing the output of a Prisma Client aggregation query showing record counts grouped by ID.Exact payloads, commands, or snippets shown in A JSON object representing the output of a Prisma Client aggregation query showing record counts grouped by ID.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-3.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-4.jsonA JSON object demonstrating the structure of aggregation results including count and sum operations in Prisma Client.Exact payloads, commands, or snippets shown in A JSON object demonstrating the structure of aggregation results including count and sum operations in Prisma Client.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-4.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and counting operations on user records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and counting opera...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-5.jsonA JSON object demonstrating the structure of aggregation results including count operations for posts and recipes.Exact payloads, commands, or snippets shown in A JSON object demonstrating the structure of aggregation results including count operations for posts and recipes.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-5.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-6.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation and grouping queries, such as counting user posts with specific comment criteria.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation and grouping queries, such as...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-7.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-result.jsonA JSON object representing the output of a Prisma Client aggregation query showing counts for all records and specific name occurrences.Exact payloads, commands, or snippets shown in A JSON object representing the output of a Prisma Client aggregation query showing counts for all records and specifi...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-8.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-9.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database models.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-10.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and sum operations...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-11.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and summing operations on database records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and summing operat...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-6.jsonA JSON array representing user roles used to demonstrate aggregation and grouping operations in Prisma Client.Exact payloads, commands, or snippets shown in A JSON array representing user roles used to demonstrate aggregation and grouping operations in Prisma Client.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum.prismaA Prisma schema and query example demonstrating how to use aggregation, grouping, and sum operations on model data.Exact payloads, commands, or snippets shown in A Prisma schema and query example demonstrating how to use aggregation, grouping, and sum operations on model data.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-typescript-12.tsA TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and distinct queries on a play model.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use Prisma Client to perform aggregation, grouping, and distinct queri...
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-7.jsonA JSON object representing aggregated data results including scores and game names for grouping operations.Exact payloads, commands, or snippets shown in A JSON object representing aggregated data results including scores and game names for grouping operations.
examples/aggregation-grouping-and-summarizing-docs-orm-prisma-client-queries-sum/prisma-client-aggregation-grouping-sum-8.jsonA JSON object representing grouped aggregation results for game and player IDs.Exact payloads, commands, or snippets shown in A JSON object representing grouped aggregation results for game and player IDs.
docs/crud-docs-orm-prisma-client-queries/workflow-guide.mdA guide describing how to perform create, read, update, and delete operations using the Prisma Client.Questions about a guide describing how to perform create, read, update, and delete operations using the Prisma Client.
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-operations.tsTypeScript code demonstrating basic CRUD operations using the Prisma Client.Exact payloads, commands, or snippets shown in TypeScript code demonstrating basic CRUD operations using the Prisma Client.
examples/crud-docs-orm-prisma-client-queries/prisma-client-create-many-typescript.tsA TypeScript code example demonstrating the use of the prisma.user.createMany method to insert multiple records while skipping duplicates.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.user.createMany method to insert multiple records while...
examples/crud-docs-orm-prisma-client-queries/prisma-client-create-many-and-return-typescript.tsA TypeScript example demonstrating the use of the createManyAndReturn method in Prisma Client to insert multiple records and return the created data.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the createManyAndReturn method in Prisma Client to insert multiple reco...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-findunique-typescript.tsTypeScript examples demonstrating how to use the Prisma Client findUnique method to retrieve records by unique fields and IDs.Exact payloads, commands, or snippets shown in TypeScript examples demonstrating how to use the Prisma Client findUnique method to retrieve records by unique fields...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-operations-typescript.tsTypeScript code examples demonstrating basic CRUD operations using the Prisma Client.Exact payloads, commands, or snippets shown in TypeScript code examples demonstrating basic CRUD operations using the Prisma Client.
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-findfirst-typescript.tsA TypeScript example demonstrating how to use the prisma.user.findFirst method with nested filtering and ordering.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.findFirst method with nested filtering and ordering.
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-queries-typescript.tsTypeScript examples demonstrating various Prisma Client CRUD operations including single field filters, logical OR/AND conditions, and filtering by related records.Exact payloads, commands, or snippets shown in TypeScript examples demonstrating various Prisma Client CRUD operations including single field filters, logical OR/AN...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-operations-typescript-2.tsTypeScript examples demonstrating various CRUD operations using the Prisma Client.Exact payloads, commands, or snippets shown in TypeScript examples demonstrating various CRUD operations using the Prisma Client.
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-findmany-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.findMany method with filtering and relation inclusion.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.findMany method with filtering and relation inclus...
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-update-user.tsA TypeScript example demonstrating how to use the Prisma Client update method to modify a user record by email.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update method to modify a user record by email.
examples/crud-docs-orm-prisma-client-queries/prisma-client-update-many-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.updateMany method to update multiple user records based on a filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.updateMany method to update multiple user records...
examples/crud-docs-orm-prisma-client-queries/prisma-client-update-many-and-return-typescript.tsA TypeScript code example demonstrating the use of the updateManyAndReturn method in Prisma Client to update multiple records and return the updated results.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the updateManyAndReturn method in Prisma Client to update multiple...
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-upsert-user.tsA TypeScript code example demonstrating how to use the Prisma Client upsert operation to create or update a user record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client upsert operation to create or update a user record.
examples/crud-docs-orm-prisma-client-queries/prisma-client-update-many-typescript-2.tsA TypeScript code example demonstrating how to use the prisma.post.updateMany method to increment views and likes for multiple records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.post.updateMany method to increment views and likes for...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-delete-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client delete operation to remove a record by a specific field.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client delete operation to remove a record by a specifi...
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-delete-many-query.tsA TypeScript code example demonstrating how to use the prisma.user.deleteMany method to remove multiple user records based on a filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.deleteMany method to remove multiple user records...
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-delete-many.tsA TypeScript code example demonstrating how to use the prisma.user.deleteMany method to remove multiple user records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.deleteMany method to remove multiple user records.
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-relation-violation-error-message.textA text representation of a Prisma Client error message indicating a violation of a required relation between Post and User models.Exact payloads, commands, or snippets shown in A text representation of a Prisma Client error message indicating a violation of a required relation between Post and...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-operations.prismaA Prisma schema and client example demonstrating basic CRUD operations including create, read, update, and delete.Exact payloads, commands, or snippets shown in A Prisma schema and client example demonstrating basic CRUD operations including create, read, update, and delete.
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-delete-and-transaction.tsTypeScript code demonstrating how to perform multiple delete operations and wrap them in a Prisma transaction.Exact payloads, commands, or snippets shown in TypeScript code demonstrating how to perform multiple delete operations and wrap them in a Prisma transaction.
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-transaction-delete-many.tsA TypeScript example demonstrating how to execute multiple deleteMany operations within a Prisma transaction.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to execute multiple deleteMany operations within a Prisma transaction.
examples/crud-docs-orm-prisma-client-queries/prisma-client-raw-query-execute.tsA TypeScript example demonstrating how to use prisma.$queryRaw and prisma.$executeRawUnsafe to perform raw SQL operations like truncating tables.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use prisma.$queryRaw and prisma.$executeRawUnsafe to perform raw SQL operat...
examples/crud-docs-orm-prisma-client-queries/prisma-client-ts-crud-raw-query-transactions.tsA TypeScript example demonstrating how to use prisma.$executeRaw and prisma.$queryRaw within a transaction array to perform raw SQL operations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use prisma.$executeRaw and prisma.$queryRaw within a transaction array to p...
examples/crud-docs-orm-prisma-client-queries/prisma-client-crud-operations-typescript-3.tsTypeScript code demonstrating various Prisma Client CRUD operations including create, find, update, and delete with nested includes.Exact payloads, commands, or snippets shown in TypeScript code demonstrating various Prisma Client CRUD operations including create, find, update, and delete with n...
docs/excluding-fields-docs-orm-prisma-client-queries/workflow-guide.mdDocumentation explaining how to use the omit operator in Prisma Client queries to exclude specific fields from query results.Questions about documentation explaining how to use the omit operator in Prisma Client queries to exclude specific fields from query...
examples/excluding-fields-docs-orm-prisma-client-queries/prisma-client-query-omit-fields-typescript.tsA TypeScript code example demonstrating how to use the omit property in a Prisma Client query to exclude specific fields from a result.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the omit property in a Prisma Client query to exclude specific fie...
examples/excluding-fields-docs-orm-prisma-client-queries/prisma-client-query-omit-fields-typescript-2.tsA TypeScript code example demonstrating how to use the omit property in a Prisma Client query to exclude specific fields from a result.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the omit property in a Prisma Client query to exclude specific fie...
docs/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/workflow-guide.mdDocumentation explaining how to use the @@map and @map attributes to customize model and field names in the Prisma Client.Questions about documentation explaining how to use the @@map and @map attributes to customize model and field names in the Prisma Cl...
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-names.sqlSQL schema definition demonstrating how to map database table and column names to custom Prisma model and field names using the @@map and @map attributes.Exact payloads, commands, or snippets shown in SQL schema definition demonstrating how to map database table and column names to custom Prisma model and field names...
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping.prismaA Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names in the database.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names in...
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-2.prismaA Prisma schema file demonstrating how to use the @@map and @map attributes to define custom model and field names.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @@map and @map attributes to define custom model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-3.prismaA Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-4.prismaA Prisma schema demonstrating how to use the @map and @@map attributes to define custom database model and field names.Exact payloads, commands, or snippets shown in A Prisma schema demonstrating how to use the @map and @@map attributes to define custom database model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-5.prismaA Prisma schema demonstrating the use of @map and @@map to define custom database model and field names.Exact payloads, commands, or snippets shown in A Prisma schema demonstrating the use of @map and @@map to define custom database model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-client-custom-model-and-field-names-typescript.tsA TypeScript example demonstrating how to use the Prisma Client with custom model and field names using the @@map and @map attributes.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client with custom model and field names using the @@map and...
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-names-2.sqlSQL schema definition demonstrating how to map database table and column names to custom Prisma model and field names.Exact payloads, commands, or snippets shown in SQL schema definition demonstrating how to map database table and column names to custom Prisma model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-6.prismaA Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.
examples/custom-model-and-field-names-docs-orm-prisma-client-setup-configuration/prisma-custom-model-and-field-mapping-7.prismaA Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @map and @@map attributes to define custom model and field names.
docs/database-polyfills-docs-orm-prisma-client-setup-and-configuration/workflow-guide.mdDocumentation explaining how Prisma Client provides database polyfills for features not natively supported by certain databases.Questions about documentation explaining how Prisma Client provides database polyfills for features not natively supported by certain...
docs/database-connections-docs-orm-prisma-client-setup-and-configuration-data/workflow-guide.mdDocumentation explaining how to configure and manage database connections within the Prisma Client.Questions about documentation explaining how to configure and manage database connections within the Prisma Client.
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-typescript-database-connection-setup.tsA TypeScript example demonstrating how to instantiate a new PrismaClient for database connections.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate a new PrismaClient for database connections.
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-typescript-database-connection.tsA TypeScript example demonstrating how to initialize and use a Prisma Client instance to perform database queries.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize and use a Prisma Client instance to perform database queries.
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-singleton-typescript-setup.tsA TypeScript implementation of a singleton pattern for the PrismaClient to prevent multiple instances during development hot-reloading.Exact payloads, commands, or snippets shown in A TypeScript implementation of a singleton pattern for the PrismaClient to prevent multiple instances during developm...
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-typescript-database-connection-2.tsA TypeScript code example demonstrating how to initialize the Prisma Client and perform a basic findMany query to connect to a database.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize the Prisma Client and perform a basic findMany query to con...
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-typescript-database-connection-setup-2.tsA TypeScript example demonstrating how to instantiate a PrismaClient to establish a database connection.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate a PrismaClient to establish a database connection.
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-database-connection-url-pgbouncer.bashBash environment variable configuration for database connection URLs using PgBouncer and direct connection settings.Exact payloads, commands, or snippets shown in Bash environment variable configuration for database connection URLs using PgBouncer and direct connection settings.
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-database-connection-config.tsA TypeScript configuration file demonstrating how to define a datasource URL using environment variables for Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to define a datasource URL using environment variables for Prisma C...
examples/database-connections-docs-orm-prisma-client-setup-and-configuration-data/prisma-client-pg-adapter-typescript-connection.tsAn example demonstrating how to instantiate a PrismaClient using a PostgreSQL adapter in TypeScript.Exact payloads, commands, or snippets shown in An example demonstrating how to instantiate a PrismaClient using a PostgreSQL adapter in TypeScript.
docs/connection-management-docs-orm-prisma-client-setup-and-configuration-dat/workflow-guide.mdA guide detailing how to manage database connections within the Prisma Client.Questions about a guide detailing how to manage database connections within the Prisma Client.
examples/connection-management-docs-orm-prisma-client-setup-and-configuration-dat/prisma-client-typescript-connection-management.tsA TypeScript code example demonstrating how to instantiate the PrismaClient and manually establish a database connection using the $connect method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the PrismaClient and manually establish a database connect...
examples/connection-management-docs-orm-prisma-client-setup-and-configuration-dat/prisma-client-typescript-connection-management-disconnect.tsA TypeScript code example demonstrating how to instantiate the PrismaClient and properly call the $disconnect method within a main function execution flow.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the PrismaClient and properly call the $disconnect method...
examples/connection-management-docs-orm-prisma-client-setup-and-configuration-dat/prisma-client-ts-connection-management-beforeexit-hook.tsA TypeScript example demonstrating how to use the PrismaClient $on beforeExit hook to perform cleanup operations before the process terminates.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the PrismaClient $on beforeExit hook to perform cleanup operations befo...
docs/connection-pool-docs-orm-prisma-client-setup-and-configuration-databases/workflow-guide.mdDocumentation explaining how to configure and manage connection pooling for the Prisma Client.Questions about documentation explaining how to configure and manage connection pooling for the Prisma Client.
examples/connection-pool-docs-orm-prisma-client-setup-and-configuration-databases/prisma-client-pg-adapter-connection-pool-configuration.tsA TypeScript example demonstrating how to configure connection pool settings like connectionTimeoutMillis and idleTimeoutMillis using the Prisma PostgreSQL adapter.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure connection pool settings like connectionTimeoutMillis and idleTim...
examples/connection-pool-docs-orm-prisma-client-setup-and-configuration-databases/prisma-mariadb-adapter-connection-pool-configuration.tsA TypeScript example demonstrating how to configure connection pool settings like connectTimeout and idleTimeout using the Prisma MariaDB adapter.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure connection pool settings like connectTimeout and idleTimeout usin...
examples/connection-pool-docs-orm-prisma-client-setup-and-configuration-databases/prisma-client-mssql-connection-pool-configuration.tsA TypeScript example demonstrating how to configure connection pool settings like idleTimeoutMillis when using the Prisma MSSQL adapter.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure connection pool settings like idleTimeoutMillis when using the Pr...
docs/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/workflow-guide.mdA guide explaining how to configure Prisma Client to work with PgBouncer for connection pooling.Questions about a guide explaining how to configure Prisma Client to work with PgBouncer for connection pooling.
examples/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/prisma-client-pgbouncer-connection-string-format.shellA shell command demonstrating the connection string format required to enable PgBouncer support in the Prisma Client.Exact payloads, commands, or snippets shown in A shell command demonstrating the connection string format required to enable PgBouncer support in the Prisma Client.
examples/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/prisma-client-pgbouncer-connection-error.bashA bash command demonstration showing a prepared statement error when using Prisma Client with PgBouncer.Exact payloads, commands, or snippets shown in A bash command demonstration showing a prepared statement error when using Prisma Client with PgBouncer.
examples/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/prisma-client-pgbouncer-connection-string.bashA bash snippet defining DATABASE_URL with the pgbouncer parameter and a DIRECT_URL for direct database access.Exact payloads, commands, or snippets shown in A bash snippet defining DATABASEURL with the pgbouncer parameter and a DIRECTURL for direct database access.
examples/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/prisma-client-pgbouncer-typescript-configuration.tsA TypeScript configuration file demonstrating how to set up the Prisma Client to work with PgBouncer using a direct connection URL.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to set up the Prisma Client to work with PgBouncer using a direct c...
examples/configure-prisma-client-with-pgbouncer-docs-orm-setup-and-configuration/prisma-client-pgbouncer-ts-adapter-setup.tsA TypeScript example demonstrating how to initialize the Prisma Client using a PgAdapter for connection pooling with PgBouncer.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize the Prisma Client using a PgAdapter for connection pooling with...
docs/configuring-error-formatting-docs-orm-prisma-client-setup-and-configurat/workflow-guide.mdDocumentation regarding the configuration of ANSI escape characters and pretty printing for Prisma Client error messages.Questions about documentation regarding the configuration of ANSI escape characters and pretty printing for Prisma Client error messa...
examples/configuring-error-formatting-docs-orm-prisma-client-setup-and-configurat/prisma-client-typescript-error-formatting-configuration.tsA TypeScript code example demonstrating how to configure the errorFormat option within the PrismaClient constructor.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to configure the errorFormat option within the PrismaClient constructor.
docs/composite-types-docs-orm-prisma-client-special-fields-and/workflow-guide.mdDocumentation explaining the usage and implementation of composite types specifically for MongoDB within the Prisma ORM.Questions about documentation explaining the usage and implementation of composite types specifically for MongoDB within the Prisma ORM.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-mongodb-composite-types.prismaA Prisma schema definition demonstrating the implementation of composite types using MongoDB.Exact payloads, commands, or snippets shown in A Prisma schema definition demonstrating the implementation of composite types using MongoDB.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-definition.prismaA Prisma schema file demonstrating the definition and usage of composite types within a data model.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating the definition and usage of composite types within a data model.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript.tsA TypeScript code example demonstrating how to query and display composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query and display composite types using the Prisma Client findMany met...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-2.tsA TypeScript example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-3.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-4.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-5.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-findmany-query-typescript.tsA TypeScript example demonstrating how to use the findMany operation with composite type filtering in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findMany operation with composite type filtering in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-2.tsA TypeScript code example demonstrating how to query and use composite types within a Prisma Client findMany operation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query and use composite types within a Prisma Client findMany operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-6.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findMany method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-7.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findFirst method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findFirst method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-query-8.tsA TypeScript code example demonstrating how to query composite types using the Prisma Client findFirst method.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query composite types using the Prisma Client findFirst method.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-create-order-typescript.tsA TypeScript example demonstrating how to create a record using a composite type field in a Prisma Client operation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create a record using a composite type field in a Prisma Client operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-create-order-typescript-2.tsA TypeScript example demonstrating how to create a record using a composite type field in a Prisma Client operation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create a record using a composite type field in a Prisma Client operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-create.tsA TypeScript example demonstrating how to create records using composite types and embedded optional types in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create records using composite types and embedded optional types in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-create-product-typescript.tsA TypeScript example demonstrating how to create a record using composite types for product attributes like colors, sizes, and photos.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create a record using composite types for product attributes like colors, s...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-create-2.tsA TypeScript example demonstrating how to create a record using composite types in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create a record using composite types in Prisma Client.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-create-many-typescript.tsA TypeScript example demonstrating how to use the createMany operation with composite types in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the createMany operation with composite types in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update.tsA TypeScript code example demonstrating how to update specific fields within a composite type using the Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to update specific fields within a composite type using the Prisma Client.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-upsert.tsA TypeScript example demonstrating how to use the upsert operation to manage composite types within a Prisma Client update call.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the upsert operation to manage composite types within a Prisma Client u...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update-2.tsA TypeScript code example demonstrating how to update a record using composite types in Prisma, including the use of the unset operation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to update a record using composite types in Prisma, including the use of...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update-many.tsA TypeScript example demonstrating how to use the updateMany operation to modify nested fields within composite types in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the updateMany operation to modify nested fields within composite types...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update-3.tsA TypeScript example demonstrating how to update a record using composite type operations like push in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to update a record using composite type operations like push in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update-4.tsA TypeScript example demonstrating how to update composite type fields using the Prisma Client update operation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to update composite type fields using the Prisma Client update operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-update-5.tsA TypeScript example demonstrating how to update composite type fields using the Prisma Client update operation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to update composite type fields using the Prisma Client update operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-upsert-typescript.tsA TypeScript code example demonstrating how to use the upsert operation with composite types in Prisma.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the upsert operation with composite types in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-3.tsA TypeScript code example demonstrating how to perform deleteMany operations using composite type filters in Prisma.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to perform deleteMany operations using composite type filters in Prisma.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-4.tsA TypeScript code example demonstrating how to perform operations like deleteMany using composite type filters in Prisma.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to perform operations like deleteMany using composite type filters in Pri...
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-typescript-5.tsA TypeScript code example demonstrating how to query and use composite types within a Prisma Client findMany operation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to query and use composite types within a Prisma Client findMany operation.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-definition-2.prismaA Prisma schema file demonstrating the definition and usage of composite types within a model.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating the definition and usage of composite types within a model.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-client-composite-types-create-many-typescript.tsA TypeScript example demonstrating how to use the createMany operation with composite types in the Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the createMany operation with composite types in the Prisma Client.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-definition-3.prismaA Prisma schema file demonstrating the definition and relationship structure of composite types.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating the definition and relationship structure of composite types.
examples/composite-types-docs-orm-prisma-client-special-fields-and/prisma-composite-types-mailbox-create-typescript.tsA TypeScript example demonstrating how to create a MailBox record with multiple composite address entries using the Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to create a MailBox record with multiple composite address entries using the P...
docs/getting-started-with-prisma-migrate-docs-orm/workflow-guide.mdA guide explaining how to set up and use Prisma Migrate by adding models to a schema and running migration commands.Questions about a guide explaining how to set up and use Prisma Migrate by adding models to a schema and running migration commands.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-postgresql-definition.prismaA Prisma schema file defining User and Post models with a PostgreSQL datasource for initializing migrations.Exact payloads, commands, or snippets shown in A Prisma schema file defining User and Post models with a PostgreSQL datasource for initializing migrations.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-init-command.bashA bash command to initialize a new Prisma migration using the migrate dev command.Exact payloads, commands, or snippets shown in A bash command to initialize a new Prisma migration using the migrate dev command.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-init-command-2.bashA bash command to initialize a new Prisma migration using pnpm dlx.Exact payloads, commands, or snippets shown in A bash command to initialize a new Prisma migration using pnpm dlx.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-init-command-3.bashA bash command to initialize a new Prisma migration using the migrate dev command.Exact payloads, commands, or snippets shown in A bash command to initialize a new Prisma migration using the migrate dev command.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-bunx-init-command.bashA bash command using bunx to execute a prisma migrate dev operation with an initial migration name.Exact payloads, commands, or snippets shown in A bash command using bunx to execute a prisma migrate dev operation with an initial migration name.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-postgresql-creation.sqlSQL statements for creating User and Post tables with foreign key relationships using Prisma Migrate.Exact payloads, commands, or snippets shown in SQL statements for creating User and Post tables with foreign key relationships using Prisma Migrate.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-initial-migration-sql.textA sample SQL migration file generated by Prisma Migrate during the initial database schema setup.Exact payloads, commands, or snippets shown in A sample SQL migration file generated by Prisma Migrate during the initial database schema setup.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-getting-started.prismaA Prisma schema file defining a User model with an added name field to demonstrate migration capabilities.Exact payloads, commands, or snippets shown in A Prisma schema file defining a User model with an added name field to demonstrate migration capabilities.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-command.bashA bash command demonstrating how to create and apply a new migration using the npx prisma migrate dev command with a specific name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create and apply a new migration using the npx prisma migrate dev command with a...
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-command-2.bashA bash command demonstrating how to use pnpm to execute a Prisma Migrate development migration with a specific name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use pnpm to execute a Prisma Migrate development migration with a specific name.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-command-3.bashA bash command demonstrating how to use yarn dlx to run a prisma migrate dev operation with a specific migration name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use yarn dlx to run a prisma migrate dev operation with a specific migration name.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-dev-command-bunx.bashA bash command demonstrating how to create a new migration using bunx and prisma migrate dev.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a new migration using bunx and prisma migrate dev.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-sql-alter-table.sqlA SQL script demonstrating an AlterTable operation to add a jobTitle column to a User table.Exact payloads, commands, or snippets shown in A SQL script demonstrating an AlterTable operation to add a jobTitle column to a User table.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-getting-started-migration-directory-structure.textA text representation of the directory structure and migration files generated by Prisma Migrate.Exact payloads, commands, or snippets shown in A text representation of the directory structure and migration files generated by Prisma Migrate.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-db-pull-command.bashA bash command demonstrating how to use npx prisma db pull to introspect an existing database schema.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma db pull to introspect an existing database schema.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-db-pull-pnpm-command.bashA bash command using pnpm to execute the prisma db pull operation for database introspection.Exact payloads, commands, or snippets shown in A bash command using pnpm to execute the prisma db pull operation for database introspection.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-db-pull-command-2.bashA bash command demonstrating how to use yarn dlx to pull the database schema into a Prisma schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use yarn dlx to pull the database schema into a Prisma schema file.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-getting-started-db-pull-bunx.bashA bash command using bunx to execute the prisma db pull operation for initializing a database schema.Exact payloads, commands, or snippets shown in A bash command using bunx to execute the prisma db pull operation for initializing a database schema.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-diff-command.bashA bash command demonstrating how to use npx prisma migrate diff to generate a migration script from an empty state to a schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma migrate diff to generate a migration script from an empty state to...
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-diff-command-2.bashA bash command using pnpm to generate a migration SQL script by comparing an empty state to the current prisma schema.Exact payloads, commands, or snippets shown in A bash command using pnpm to generate a migration SQL script by comparing an empty state to the current prisma schema.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-diff-command-3.bashA bash command using yarn dlx to generate a migration diff between an empty state and a prisma schema.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to generate a migration diff between an empty state and a prisma schema.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-diff-bunx-command.bashA bash command demonstrating how to use bunx to run prisma migrate diff to generate a migration script from an empty state to a schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run prisma migrate diff to generate a migration script from an empty...
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-generated.sqlA SQL script containing a generated migration with a PostgreSQL trigger function for notifying on insert.Exact payloads, commands, or snippets shown in A SQL script containing a generated migration with a PostgreSQL trigger function for notifying on insert.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-resolve-applied-command.bashA bash command demonstrating how to use npx prisma migrate resolve to mark a specific migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma migrate resolve to mark a specific migration as applied.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-resolve-applied-command-2.bashA bash command demonstrating how to use prisma migrate resolve to mark a specific migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use prisma migrate resolve to mark a specific migration as applied.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-resolve-applied-command-3.bashA bash command demonstrating how to use the prisma migrate resolve flag to mark a specific migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve flag to mark a specific migration as applied.
examples/getting-started-with-prisma-migrate-docs-orm/prisma-migrate-resolve-applied-command-4.bashA bash command demonstrating how to use the prisma migrate resolve flag to mark a migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve flag to mark a migration as applied.
docs/about-the-shadow-database-docs-orm-prisma-migrate-understanding/workflow-guide.mdAn explanation of the purpose, lifecycle, and necessity of the shadow database during Prisma Migrate operations.Questions about an explanation of the purpose, lifecycle, and necessity of the shadow database during Prisma Migrate operations.
examples/about-the-shadow-database-docs-orm-prisma-migrate-understanding/prisma-migrate-shadow-database-enum-change.textA text representation of a schema change involving an enum modification to illustrate how the shadow database detects migrations.Exact payloads, commands, or snippets shown in A text representation of a schema change involving an enum modification to illustrate how the shadow database detects...
examples/about-the-shadow-database-docs-orm-prisma-migrate-understanding/prisma-migrate-shadow-database-config-typescript.tsA TypeScript configuration file demonstrating how to define the shadowDatabaseUrl within a Prisma migration setup.Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to define the shadowDatabaseUrl within a Prisma migration setup.
examples/about-the-shadow-database-docs-orm-prisma-migrate-understanding/prisma-migrate-shadow-database-error-permission-denied.textAn error message indicating that the database user lacks the necessary permissions to create a shadow database during a Prisma migration.Exact payloads, commands, or snippets shown in An error message indicating that the database user lacks the necessary permissions to create a shadow database during...
docs/baselining-a-database-docs-orm-prisma-migrate-workflows/workflow-guide.mdA guide explaining the process of initializing migration history for an existing database using Prisma Migrate.Questions about a guide explaining the process of initializing migration history for an existing database using Prisma Migrate.
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-baseline-diff-command.bashA bash command using npx prisma migrate diff to generate a baseline migration script from an empty state to the current schema.Exact payloads, commands, or snippets shown in A bash command using npx prisma migrate diff to generate a baseline migration script from an empty state to the curre...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-diff-baseline-script-generation.bashA bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current schema.Exact payloads, commands, or snippets shown in A bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current s...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-diff-baseline-script-generation-2.bashA bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current schema.Exact payloads, commands, or snippets shown in A bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current s...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-diff-baselining-bash-command.bashA bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current schema.Exact payloads, commands, or snippets shown in A bash command using prisma migrate diff to generate a baseline migration script from an empty state to the current s...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-resolve-applied-baseline-command.bashA bash command demonstrating how to use npx prisma migrate resolve to mark an initial migration as applied for database baselining.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma migrate resolve to mark an initial migration as applied for databa...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-resolve-applied-command.bashA bash command demonstrating how to use the prisma migrate resolve command to mark a migration as applied during a database baselining workflow.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve command to mark a migration as applied during a da...
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-resolve-applied-command-2.bashA bash command demonstrating how to use the prisma migrate resolve command to mark an initial migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve command to mark an initial migration as applied.
examples/baselining-a-database-docs-orm-prisma-migrate-workflows/prisma-migrate-resolve-applied-command-3.bashA bash command demonstrating how to use prisma migrate resolve to mark an initial migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use prisma migrate resolve to mark an initial migration as applied.
docs/customizing-migrations-docs-orm-prisma-migrate-workflows/workflow-guide.mdA guide explaining how to edit migration files before applying them within the Prisma Migrate workflow.Questions about a guide explaining how to edit migration files before applying them within the Prisma Migrate workflow.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only.bashA bash command demonstrating how to create a migration file without applying it to the database using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration file without applying it to the database using the prisma migr...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-2.bashA bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-3.bashA bash command demonstrating how to create a migration file without applying it to the database using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration file without applying it to the database using the prisma migr...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-4.bashA bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-customization-workflow.bashA bash command demonstrating the execution of npx prisma migrate dev to initiate the migration customization workflow.Exact payloads, commands, or snippets shown in A bash command demonstrating the execution of npx prisma migrate dev to initiate the migration customization workflow.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-customization-workflow-2.bashA bash command demonstrating how to initiate the prisma migrate dev process to begin customizing migrations.Exact payloads, commands, or snippets shown in A bash command demonstrating how to initiate the prisma migrate dev process to begin customizing migrations.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-customization-workflow-3.bashA bash command demonstrating how to initiate the prisma migrate dev workflow to begin customizing migrations.Exact payloads, commands, or snippets shown in A bash command demonstrating how to initiate the prisma migrate dev workflow to begin customizing migrations.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-bunx-command.bashA bash command demonstrating how to run prisma migrate dev using the bunx runner.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run prisma migrate dev using the bunx runner.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-migration-model-definition.prismaA Prisma schema model definition demonstrating how to add custom fields to a migration workflow.Exact payloads, commands, or snippets shown in A Prisma schema model definition demonstrating how to add custom fields to a migration workflow.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-migration-diff.prismaA Prisma schema demonstrating manual field correction within a migration workflow to fix a typo in a model field.Exact payloads, commands, or snippets shown in A Prisma schema demonstrating manual field correction within a migration workflow to fix a typo in a model field.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-rename-command.bashA bash command demonstrating how to create a migration without applying it using the --create-only flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration without applying it using the --create-only flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-rename-migration.bashA bash command demonstrating how to use the prisma migrate dev flag to create a migration without applying it to allow for manual customization.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev flag to create a migration without applying it to allo...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-rename-migration-2.bashA bash command demonstrating how to use the prisma migrate dev flag to create a migration without applying it for renaming purposes.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev flag to create a migration without applying it for ren...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-rename-command-2.bashA bash command using bunx to create a new migration without applying it to the database for renaming purposes.Exact payloads, commands, or snippets shown in A bash command using bunx to create a new migration without applying it to the database for renaming purposes.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-sql-alter-table-column-rename.sqlA SQL migration script demonstrating how to manually alter a table to rename a column from biography to biograpy.Exact payloads, commands, or snippets shown in A SQL migration script demonstrating how to manually alter a table to rename a column from biography to biograpy.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-sql-rename-column.sqlA SQL migration script demonstrating how to manually rename a column within a Prisma migration workflow.Exact payloads, commands, or snippets shown in A SQL migration script demonstrating how to manually rename a column within a Prisma migration workflow.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-migration-model.prismaA Prisma schema model definition demonstrating how to add fields for custom migration workflows.Exact payloads, commands, or snippets shown in A Prisma schema model definition demonstrating how to add fields for custom migration workflows.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-5.bashA bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-6.bashA bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration without applying it using the prisma migrate dev flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-7.bashA bash command demonstrating how to create a migration file without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a migration file without applying it using the prisma migrate dev flag.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-8.bashA bash command demonstrating how to use the prisma migrate dev flag with the create-only option to intercept a migration before it is applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev flag with the create-only option to intercept a migrat...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-sql-update-profile-biography.sqlA SQL script demonstrating how to perform a data migration by updating the biography field in the Profile table during a Prisma migration workflow.Exact payloads, commands, or snippets shown in A SQL script demonstrating how to perform a data migration by updating the biography field in the Profile table durin...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-migration-model-2.prismaA Prisma schema model demonstrating field changes used to illustrate the process of customizing migrations.Exact payloads, commands, or snippets shown in A Prisma schema model demonstrating field changes used to illustrate the process of customizing migrations.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-custom-migration-name.bashA bash command demonstrating how to use the prisma migrate dev command with a custom migration name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev command with a custom migration name.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-remove-bio.bashA bash command demonstrating how to use the prisma migrate dev command with a specific name to initiate a migration for removing a bio field.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev command with a specific name to initiate a migration f...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-custom-migration-name-2.bashA bash command demonstrating how to use the prisma migrate dev command with a specific migration name to customize the migration workflow.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev command with a specific migration name to customize th...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-custom-migration-name-3.bashA bash command demonstrating how to use the prisma migrate dev command with a specific migration name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate dev command with a specific migration name.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-migration.prismaA Prisma schema definition used to demonstrate how to customize migrations by manually editing SQL or schema files.Exact payloads, commands, or snippets shown in A Prisma schema definition used to demonstrate how to customize migrations by manually editing SQL or schema files.
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-customizing-migration-data-loss-warning.textA text representation of a Prisma migration warning indicating potential data loss due to adding a unique constraint on the profileId column.Exact payloads, commands, or snippets shown in A text representation of a Prisma migration warning indicating potential data loss due to adding a unique constraint...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-sql-migration.sqlA SQL script demonstrating manual modifications to a Prisma migration file, including dropping constraints, indexes, and altering table columns.Exact payloads, commands, or snippets shown in A SQL script demonstrating manual modifications to a Prisma migration file, including dropping constraints, indexes,...
examples/customizing-migrations-docs-orm-prisma-migrate-workflows/prisma-migrate-custom-sql-migration-2.sqlA SQL script demonstrating manual modifications to a migration file, such as dropping foreign keys and updating table columns.Exact payloads, commands, or snippets shown in A SQL script demonstrating manual modifications to a migration file, such as dropping foreign keys and updating table...
docs/development-and-production-docs-orm-prisma-migrate-workflows/workflow-guide.mdThis documentation explains the different migration workflows and commands used for development and production environments in Prisma.Questions about this documentation explains the different migration workflows and commands used for development and production enviro...
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-workflow.bashA bash command demonstrating the use of npx prisma migrate dev for managing database migrations during development.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of npx prisma migrate dev for managing database migrations during development.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-workflow-2.bashA bash command demonstrating the use of pnpm to execute the prisma migrate dev command for local development workflows.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of pnpm to execute the prisma migrate dev command for local development workflows.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-workflow-3.bashA bash command demonstrating the use of yarn dlx prisma migrate dev for managing database migrations during development.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of yarn dlx prisma migrate dev for managing database migrations during development.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-bunx-command.bashA bash command demonstrating how to use bunx to run prisma migrate dev for development workflows.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run prisma migrate dev for development workflows.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-reset-command.bashA bash command demonstrating how to reset the database using npx prisma migrate reset.Exact payloads, commands, or snippets shown in A bash command demonstrating how to reset the database using npx prisma migrate reset.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-reset-command-2.bashA bash command demonstrating how to reset the database using the prisma migrate reset command.Exact payloads, commands, or snippets shown in A bash command demonstrating how to reset the database using the prisma migrate reset command.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-reset-command-3.bashA bash command demonstrating how to reset the database using the prisma migrate reset command.Exact payloads, commands, or snippets shown in A bash command demonstrating how to reset the database using the prisma migrate reset command.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-reset-bun-command.bashA bash command demonstrating how to reset the database using bunx and prisma migrate reset.Exact payloads, commands, or snippets shown in A bash command demonstrating how to reset the database using bunx and prisma migrate reset.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only.bashA bash command demonstrating how to create a new migration file without applying it to the database using npx prisma migrate dev --create-only.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a new migration file without applying it to the database using npx prisma...
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-2.bashA bash command demonstrating how to create a new migration file without applying it to the database using pnpm.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a new migration file without applying it to the database using pnpm.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-3.bashA bash command demonstrating how to create a new migration without applying it using the prisma migrate dev flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to create a new migration without applying it using the prisma migrate dev flag.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-dev-create-only-bunx-command.bashA bash command demonstrating how to use bunx to run prisma migrate dev with the create-only flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run prisma migrate dev with the create-only flag.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-deploy-command.bashA bash command demonstrating how to use npx prisma migrate deploy for production environments.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma migrate deploy for production environments.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-deploy-command-2.bashA bash command demonstrating how to deploy migrations in a production environment using pnpm and the Prisma CLI.Exact payloads, commands, or snippets shown in A bash command demonstrating how to deploy migrations in a production environment using pnpm and the Prisma CLI.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-deploy-bash-command.bashA bash command demonstrating how to use yarn dlx prisma migrate deploy for production environments.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use yarn dlx prisma migrate deploy for production environments.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-deploy-bunx-command.bashA bash command demonstrating how to use bunx to run prisma migrate deploy for production environments.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run prisma migrate deploy for production environments.
examples/development-and-production-docs-orm-prisma-migrate-workflows/prisma-migrate-workflow-development-and-production.bashA bash script demonstrating the warning message and workflow implications when migrations have been modified after being applied in a development and production environment.Exact payloads, commands, or snippets shown in A bash script demonstrating the warning message and workflow implications when migrations have been modified after be...
docs/database-mapping-docs-orm-prisma-schema-data-model/workflow-guide.mdA guide explaining how to map Prisma model and field names to specific database object names using the Prisma schema.Questions about a guide explaining how to map Prisma model and field names to specific database object names using the Prisma schema.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping.prismaA Prisma schema file demonstrating how to map database models and fields to specific database structures.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to map database models and fields to specific database structures.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-2.prismaA Prisma schema file demonstrating how to use the @@map attribute to map model and field names to specific database table and column names.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to use the @@map attribute to map model and field names to specific database t...
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-model.prismaA Prisma schema model demonstrating the use of @map and @@map to align Prisma field and model names with existing database column and table names.Exact payloads, commands, or snippets shown in A Prisma schema model demonstrating the use of @map and @@map to align Prisma field and model names with existing dat...
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-enum-attributes.prismaA Prisma schema example demonstrating the use of @map and @@map attributes to map enums to specific database names.Exact payloads, commands, or snippets shown in A Prisma schema example demonstrating the use of @map and @@map attributes to map enums to specific database names.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-enum.prismaA Prisma schema snippet demonstrating how to use the @map attribute to map enum values to specific database strings.Exact payloads, commands, or snippets shown in A Prisma schema snippet demonstrating how to use the @map attribute to map enum values to specific database strings.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-enum-typescript.tsA TypeScript code snippet demonstrating how to map database enums to constant objects in a Prisma schema context.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to map database enums to constant objects in a Prisma schema context.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-3.prismaA Prisma schema file demonstrating database mapping concepts such as unique constraints, default values, and relations.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating database mapping concepts such as unique constraints, default values, and relations.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-4.prismaA Prisma schema file demonstrating database mapping techniques such as custom primary key constraints and relation field mapping.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating database mapping techniques such as custom primary key constraints and relation fi...
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-5.prismaA Prisma schema file demonstrating database mapping configurations such as composite IDs and field attributes.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating database mapping configurations such as composite IDs and field attributes.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-typescript.tsA TypeScript code snippet demonstrating how to perform database mapping operations using the Prisma client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to perform database mapping operations using the Prisma client.
examples/database-mapping-docs-orm-prisma-schema-data-model/prisma-database-mapping-typescript-query.tsA TypeScript code snippet demonstrating how to use the Prisma client to query a database using mapped fields.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma client to query a database using mapped fields.
docs/data-sources-docs-orm-prisma-schema-overview/workflow-guide.mdAn overview of how the datasource block in a Prisma schema defines database connection details.Questions about an overview of how the datasource block in a Prisma schema defines database connection details.
examples/data-sources-docs-orm-prisma-schema-overview/prisma-datasource-postgresql-configuration.prismaA prisma schema definition demonstrating how to configure a postgresql datasource block.Exact payloads, commands, or snippets shown in A prisma schema definition demonstrating how to configure a postgresql datasource block.
docs/connection-urls-docs-orm-reference/workflow-guide.mdA reference guide detailing the syntax and parameters required for Prisma ORM database connection URLs.Questions about a reference guide detailing the syntax and parameters required for Prisma ORM database connection URLs.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgres.bashA bash example demonstrating the format of a PostgreSQL connection URL for Prisma.Exact payloads, commands, or snippets shown in A bash example demonstrating the format of a PostgreSQL connection URL for Prisma.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgres-2.bashA bash example demonstrating the format of a PostgreSQL connection URL for Prisma.Exact payloads, commands, or snippets shown in A bash example demonstrating the format of a PostgreSQL connection URL for Prisma.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgres-3.bashA bash example demonstrating the format of a PostgreSQL connection URL for Prisma.Exact payloads, commands, or snippets shown in A bash example demonstrating the format of a PostgreSQL connection URL for Prisma.
examples/connection-urls-docs-orm-reference/prisma-connection-url-accelerate-datasource-config.tsA TypeScript configuration object demonstrating how to define a Prisma datasource URL using Prisma Accelerate for a PostgreSQL connection.Exact payloads, commands, or snippets shown in A TypeScript configuration object demonstrating how to define a Prisma datasource URL using Prisma Accelerate for a P...
examples/connection-urls-docs-orm-reference/prisma-connection-urls-typescript-config.tsA TypeScript configuration example demonstrating how to define a datasource URL for Prisma connection strings.Exact payloads, commands, or snippets shown in A TypeScript configuration example demonstrating how to define a datasource URL for Prisma connection strings.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgresql.tsA TypeScript code snippet demonstrating how to configure a PostgreSQL connection URL within a Prisma datasource definition.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to configure a PostgreSQL connection URL within a Prisma datasource defin...
examples/connection-urls-docs-orm-reference/prisma-connection-url-datasource-config-typescript.tsA TypeScript configuration object demonstrating how to define a datasource URL for a MySQL database connection.Exact payloads, commands, or snippets shown in A TypeScript configuration object demonstrating how to define a datasource URL for a MySQL database connection.
examples/connection-urls-docs-orm-reference/prisma-connection-url-sqlserver-typescript-config.tsA TypeScript configuration object demonstrating how to define a SQL Server connection URL within a Prisma datasource block.Exact payloads, commands, or snippets shown in A TypeScript configuration object demonstrating how to define a SQL Server connection URL within a Prisma datasource...
examples/connection-urls-docs-orm-reference/prisma-connection-url-datasource-config-typescript-2.tsA TypeScript configuration snippet demonstrating how to define a datasource URL within a Prisma configuration object.Exact payloads, commands, or snippets shown in A TypeScript configuration snippet demonstrating how to define a datasource URL within a Prisma configuration object.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgresql-datasource-config.tsA TypeScript configuration object demonstrating how to define a PostgreSQL connection URL within a Prisma datasource block.Exact payloads, commands, or snippets shown in A TypeScript configuration object demonstrating how to define a PostgreSQL connection URL within a Prisma datasource...
examples/connection-urls-docs-orm-reference/prisma-connection-urls-postgresql-datasource-configuration.prismaA Prisma datasource configuration block demonstrating the connection URL syntax for a PostgreSQL database.Exact payloads, commands, or snippets shown in A Prisma datasource configuration block demonstrating the connection URL syntax for a PostgreSQL database.
examples/connection-urls-docs-orm-reference/prisma-connection-url-postgresql.textA text example demonstrating the format of a PostgreSQL connection URL for Prisma.Exact payloads, commands, or snippets shown in A text example demonstrating the format of a PostgreSQL connection URL for Prisma.
docs/database-features-docs-orm-reference/workflow-guide.mdAn overview of the various database features supported by Prisma ORM and how they are utilized within the ORM.Questions about an overview of the various database features supported by Prisma ORM and how they are utilized within the ORM.
docs/environment-variables-docs-orm-reference/workflow-guide.mdA reference guide detailing the various environment variables used by Prisma, including DEBUG for Prisma Client.Questions about a reference guide detailing the various environment variables used by Prisma, including DEBUG for Prisma Client.
examples/environment-variables-docs-orm-reference/prisma-orm-environment-variables-debug-client.bashA bash command to enable only prisma:client-level debugging output using the DEBUG environment variable.Exact payloads, commands, or snippets shown in A bash command to enable only prisma:client-level debugging output using the DEBUG environment variable.
examples/environment-variables-docs-orm-reference/prisma-studio-browser-port.bashA bash command demonstrating how to run Prisma Studio with a specific browser and custom port.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio with a specific browser and custom port.
examples/environment-variables-docs-orm-reference/prisma-environment-variables-studio-browser-command.bashA bash command demonstrating how to launch Prisma Studio with a specific browser flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to launch Prisma Studio with a specific browser flag.
examples/environment-variables-docs-orm-reference/prisma-orm-environment-variables-no-proxy.bashA bash example demonstrating the configuration of the NO_PROXY environment variable for Prisma ORM.Exact payloads, commands, or snippets shown in A bash example demonstrating the configuration of the NOPROXY environment variable for Prisma ORM.
examples/environment-variables-docs-orm-reference/prisma-orm-environment-variables-bash-examples.bashA list of bash commands demonstrating how to set various Prisma environment variables such as HTTP_PROXY.Exact payloads, commands, or snippets shown in A list of bash commands demonstrating how to set various Prisma environment variables such as HTTPPROXY.
examples/environment-variables-docs-orm-reference/prisma-orm-environment-variables.bashA bash script demonstrating the configuration of various Prisma environment variables such as HTTPS_PROXY.Exact payloads, commands, or snippets shown in A bash script demonstrating the configuration of various Prisma environment variables such as HTTPSPROXY.
docs/error-reference-docs-orm/workflow-guide.mdA comprehensive list of Prisma Client error types and their corresponding error codes.Questions about a comprehensive list of Prisma Client error types and their corresponding error codes.
docs/prisma-error-reference-docs-orm-errors/workflow-guide.mdA comprehensive list of common Prisma ORM error categories and their resolution steps.Questions about a comprehensive list of common Prisma ORM error categories and their resolution steps.
docs/prisma-cli-reference-docs-orm/workflow-guide.mdA reference guide detailing the available commands, arguments, and options for the Prisma Command Line Interface.Questions about a reference guide detailing the available commands, arguments, and options for the Prisma Command Line Interface.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-bash-commands.bashA list of available Prisma CLI commands and their usage descriptions.Exact payloads, commands, or snippets shown in A list of available Prisma CLI commands and their usage descriptions.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-environment-details.textA text representation of the Prisma CLI version, platform, and engine information output.Exact payloads, commands, or snippets shown in A text representation of the Prisma CLI version, platform, and engine information output.
examples/prisma-cli-reference-docs-orm/prisma-cli-version-check.bashA bash command used to check the installed version of the Prisma CLI.Exact payloads, commands, or snippets shown in A bash command used to check the installed version of the Prisma CLI.
examples/prisma-cli-reference-docs-orm/prisma-cli-version-json-command.bashA bash command demonstrating how to retrieve the current Prisma CLI version in JSON format.Exact payloads, commands, or snippets shown in A bash command demonstrating how to retrieve the current Prisma CLI version in JSON format.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-environment-info.textA text representation of the Prisma CLI environment information including version, platform, and engine details.Exact payloads, commands, or snippets shown in A text representation of the Prisma CLI environment information including version, platform, and engine details.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-command.bashA bash command example demonstrating the usage of the prisma init command to initialize a new Prisma project.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma init command to initialize a new Prisma project.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-commands-and-usage.textA list of Prisma CLI commands, initialization steps, and database setup workflows.Exact payloads, commands, or snippets shown in A list of Prisma CLI commands, initialization steps, and database setup workflows.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-sqlite-command.bashA bash command demonstrating how to initialize a new Prisma project using the SQLite datasource provider.Exact payloads, commands, or snippets shown in A bash command demonstrating how to initialize a new Prisma project using the SQLite datasource provider.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-db-command.bashA bash command example demonstrating how to initialize a new Prisma project with a specific database provider using the prisma init flag.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to initialize a new Prisma project with a specific database provider using t...
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-authentication-flow.textA text log demonstrating the interactive authentication process for the Prisma CLI via the Prisma Platform.Exact payloads, commands, or snippets shown in A text log demonstrating the interactive authentication process for the Prisma CLI via the Prisma Platform.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-prompt.bashA bash command demonstrating how to use the prisma init command with a prompt to scaffold a new application.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma init command with a prompt to scaffold a new application.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-preview-feature-metrics.bashA bash command demonstrating how to initialize a Prisma project with the metrics preview feature enabled.Exact payloads, commands, or snippets shown in A bash command demonstrating how to initialize a Prisma project with the metrics preview feature enabled.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-definition.prismaA Prisma schema file demonstrating datasource and generator configurations for a PostgreSQL database.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating datasource and generator configurations for a PostgreSQL database.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-preview-feature-command.bashA bash command demonstrating how to initialize a Prisma project with specific preview features enabled.Exact payloads, commands, or snippets shown in A bash command demonstrating how to initialize a Prisma project with specific preview features enabled.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-definition-2.prismaA Prisma schema file demonstrating datasource and generator configurations including preview features.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating datasource and generator configurations including preview features.
examples/prisma-cli-reference-docs-orm/prisma-definition.prismaA sample Prisma schema file defining a generator client and a postgresql datasource.Exact payloads, commands, or snippets shown in A sample Prisma schema file defining a generator client and a postgresql datasource.
examples/prisma-cli-reference-docs-orm/prisma-cli-config-defineconfig.typescriptA TypeScript example demonstrating the use of defineConfig to configure the Prisma schema and migration paths.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of defineConfig to configure the Prisma schema and migration paths.
examples/prisma-cli-reference-docs-orm/prisma-cli-environment-variable-configuration.bashA bash example demonstrating how to declare environment variables for Prisma database connection strings.Exact payloads, commands, or snippets shown in A bash example demonstrating how to declare environment variables for Prisma database connection strings.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-bash-commands-2.bashA collection of bash commands and usage examples for interacting with the Prisma CLI.Exact payloads, commands, or snippets shown in A collection of bash commands and usage examples for interacting with the Prisma CLI.
examples/prisma-cli-reference-docs-orm/prisma-cli-init-command-2.bashA bash command demonstrating how to use the prisma init command with a specific database connection URL.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma init command with a specific database connection URL.
examples/prisma-cli-reference-docs-orm/prisma.prismaA sample Prisma schema file defining a datasource with a MySQL provider and a Prisma client generator.Exact payloads, commands, or snippets shown in A sample Prisma schema file defining a datasource with a MySQL provider and a Prisma client generator.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-environment-variables.textAn example demonstrating how to declare environment variables for use within a Prisma schema and connection strings.Exact payloads, commands, or snippets shown in An example demonstrating how to declare environment variables for use within a Prisma schema and connection strings.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-prisma-generator-client.prismaA prisma schema file demonstrating the configuration of the prisma-client generator block.Exact payloads, commands, or snippets shown in A prisma schema file demonstrating the configuration of the prisma-client generator block.
examples/prisma-cli-reference-docs-orm/prisma-cli-generate-command-usage.bashA bash command example demonstrating the usage of the prisma generate CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma generate CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-command.textAn example of the terminal output generated when running a Prisma CLI command to generate the Prisma Client.Exact payloads, commands, or snippets shown in An example of the terminal output generated when running a Prisma CLI command to generate the Prisma Client.
examples/prisma-cli-reference-docs-orm/prisma-cli-generate-flag.bashA bash command demonstrating how to use the --schema flag with the prisma generate command.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the --schema flag with the prisma generate command.
examples/prisma-cli-reference-docs-orm/prisma-cli-generate-watch-command.bashA bash command demonstrating the use of the prisma generate flag with the watch option.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma generate flag with the watch option.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-terminal.textA text representation of terminal output showing the Prisma CLI watching for schema changes and generating the Prisma Client.Exact payloads, commands, or snippets shown in A text representation of terminal output showing the Prisma CLI watching for schema changes and generating the Prisma...
examples/prisma-cli-reference-docs-orm/prisma-cli-generate-command.bashA bash command demonstrating the use of the prisma generate flag for specifying a generator client.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma generate flag for specifying a generator client.
examples/prisma-cli-reference-docs-orm/prisma-cli-generate-command-2.bashA bash command demonstrating the use of the prisma generate command with multiple generator flags.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma generate command with multiple generator flags.
examples/prisma-cli-reference-docs-orm/prisma-cli-validate-command-usage.bashA bash command example demonstrating the usage of the prisma validate CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma validate CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference.textAn example of the terminal output generated when running a Prisma CLI command, showing environment variable loading and schema validation status.Exact payloads, commands, or snippets shown in An example of the terminal output generated when running a Prisma CLI command, showing environment variable loading a...
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-validation-error.textAn example of a Prisma CLI schema validation error caused by an unknown preview feature flag.Exact payloads, commands, or snippets shown in An example of a Prisma CLI schema validation error caused by an unknown preview feature flag.
examples/prisma-cli-reference-docs-orm/prisma-cli-format-command-usage.bashA bash command example demonstrating the usage of the prisma format command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma format command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-log.textA text log showing the output of Prisma CLI commands including environment variable loading and schema formatting.Exact payloads, commands, or snippets shown in A text log showing the output of Prisma CLI commands including environment variable loading and schema formatting.
examples/prisma-cli-reference-docs-orm/prisma-cli-debug-command-usage.bashA bash command example demonstrating the usage of the prisma debug CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma debug CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-command-options.textA list of Prisma CLI commands, flags, and configuration options including environment variables and engine cache paths.Exact payloads, commands, or snippets shown in A list of Prisma CLI commands, flags, and configuration options including environment variables and engine cache paths.
examples/prisma-cli-reference-docs-orm/prisma-cli-debug-command.bashAn example of using the npx prisma debug command to inspect CLI execution details.Exact payloads, commands, or snippets shown in An example of using the npx prisma debug command to inspect CLI execution details.
examples/prisma-cli-reference-docs-orm/prisma-cli-debug-command-2.bashA bash command demonstrating how to run the Prisma CLI debug command using pnpm dlx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma CLI debug command using pnpm dlx.
examples/prisma-cli-reference-docs-orm/prisma-cli-debug-command-3.bashA bash command demonstrating how to run the Prisma CLI debug mode using yarn dlx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma CLI debug mode using yarn dlx.
examples/prisma-cli-reference-docs-orm/prisma-cli-debug-command-bunx.bashA bash command demonstrating how to run the Prisma CLI in debug mode using bunx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma CLI in debug mode using bunx.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command-usage.bashA bash command example demonstrating the usage of the prisma dev CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma dev CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command-execution.bashAn example of running the npx prisma dev command and its terminal output.Exact payloads, commands, or snippets shown in An example of running the npx prisma dev command and its terminal output.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command.bashA bash command demonstrating the use of the npx prisma dev command with a custom database name.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the npx prisma dev command with a custom database name.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command-2.bashA bash command demonstrating the use of the prisma dev command with a custom database name.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev command with a custom database name.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command-3.bashA bash command demonstrating the use of the prisma dev command with a custom database name.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev command with a custom database name.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-command-bunx.bashA bash command demonstrating how to use bunx to run the prisma dev command with a custom database name.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run the prisma dev command with a custom database name.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-detach-command.bashA bash command demonstrating the use of the npx prisma dev flag with the detach option.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the npx prisma dev flag with the detach option.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-detach-command-2.bashA bash command demonstrating how to run the prisma dev command with the detach flag using pnpm.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma dev command with the detach flag using pnpm.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-detach-command-3.bashA bash command demonstrating how to run the prisma dev command with the detach flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma dev command with the detach flag.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-detach-bunx-command.bashA bash command demonstrating how to run the Prisma CLI development server in detached mode using bunx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma CLI development server in detached mode using bunx.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command.bashA bash command example demonstrating the usage of the npx prisma dev start command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the npx prisma dev start command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-2.bashA bash command example demonstrating how to use the prisma dev start command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev start command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start.bashA bash command demonstrating how to use the prisma dev start operation with a glob pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start operation with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-bunx-command.bashA bash command example demonstrating how to use bunx to run the prisma dev start command.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use bunx to run the prisma dev start command.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-3.bashA bash command demonstrating how to use the prisma dev start option to launch a database in the background.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start option to launch a database in the background.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-4.bashA bash command demonstrating how to use the prisma dev start option to launch a database in the background.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start option to launch a database in the background.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-5.bashA bash command demonstrating how to use the prisma dev start argument to launch a database in the background.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start argument to launch a database in the background.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-6.bashA bash command demonstrating how to use the prisma dev start argument to launch a database in the background.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start argument to launch a database in the background.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-7.bashA bash command demonstrating how to use the prisma dev start command to start databases with a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start command to start databases with a specific prefix.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-8.bashA bash command demonstrating how to use the prisma dev start command to start databases matching a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start command to start databases matching a specific prefix.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-9.bashA bash command demonstrating how to use the prisma dev start argument to launch multiple databases matching a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start argument to launch multiple databases matching a specifi...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-start-command-10.bashA bash command demonstrating how to use the prisma dev start command to start all existing databases starting with a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev start command to start all existing databases starting with a...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-ls.bashA bash command example demonstrating the use of the npx prisma dev ls command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the use of the npx prisma dev ls command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-bash-commands-3.bashA collection of bash commands and examples for interacting with the Prisma CLI.Exact payloads, commands, or snippets shown in A collection of bash commands and examples for interacting with the Prisma CLI.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-ls-2.bashA bash command demonstrating the use of the prisma dev ls command via yarn dlx.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev ls command via yarn dlx.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-ls-3.bashA bash command demonstrating the use of the prisma dev ls command via bunx.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev ls command via bunx.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command.bashA bash command example demonstrating the usage of the npx prisma dev stop command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the npx prisma dev stop command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-2.bashA bash command example demonstrating how to use the prisma dev stop command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev stop command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-3.bashA bash command example demonstrating how to use the prisma dev stop command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev stop command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-4.bashA bash command example demonstrating how to use the prisma dev stop command with bunx.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev stop command with bunx.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-5.bashA bash command demonstrating how to use the prisma dev stop command to stop a specific database named mydb.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop command to stop a specific database named mydb.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-6.bashA bash command demonstrating how to use the prisma dev stop operation to stop a specific database instance.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop operation to stop a specific database instance.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-7.bashA bash command demonstrating how to use the prisma dev stop operation to halt a database instance.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop operation to halt a database instance.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-8.bashA bash command demonstrating how to use the prisma dev stop command to stop a specific database.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop command to stop a specific database.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-usage.bashA bash command example demonstrating how to use the prisma dev stop command to stop all databases starting with a specific prefix.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev stop command to stop all databases starting with a spe...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-9.bashA bash command demonstrating how to use the prisma dev stop command to stop all databases starting with a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop command to stop all databases starting with a specific pr...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-10.bashA bash command demonstrating how to use the prisma dev stop command to stop all databases starting with a specific prefix.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev stop command to stop all databases starting with a specific pr...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-stop-command-11.bashA bash command example demonstrating how to use the prisma dev stop command to stop all databases starting with a specific prefix.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev stop command to stop all databases starting with a spe...
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-command.bashA bash command example demonstrating the use of the npx prisma dev rm command with a glob pattern.Exact payloads, commands, or snippets shown in A bash command example demonstrating the use of the npx prisma dev rm command with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-command-2.bashA bash command demonstrating the use of the prisma dev rm flag with a glob pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev rm flag with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-command-3.bashA bash command demonstrating the use of the prisma dev rm option with a glob pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev rm option with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-command-4.bashA bash command demonstrating the use of the prisma dev rm flag with a glob pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma dev rm flag with a glob pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-bash-commands-4.bashA collection of bash command examples demonstrating various Prisma CLI operations and their effects.Exact payloads, commands, or snippets shown in A collection of bash command examples demonstrating various Prisma CLI operations and their effects.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database.bashA bash command demonstrating how to use the prisma dev rm command to remove a specific database.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove a specific database.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-2.bashA bash command demonstrating how to use the prisma dev rm command to remove a specific database.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove a specific database.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-3.bashA bash command demonstrating how to use the prisma dev rm command to remove a specific database.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove a specific database.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-command.bashA bash command demonstrating how to use the prisma dev rm flag to remove databases matching a specific pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm flag to remove databases matching a specific pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-4.bashA bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-5.bashA bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-dev-rm-database-6.bashA bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev rm command to remove databases matching a specific pattern.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-generator-client-configuration.prismaA Prisma schema configuration demonstrating the generator client block with provider and output settings.Exact payloads, commands, or snippets shown in A Prisma schema configuration demonstrating the generator client block with provider and output settings.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-pull-command-usage.bashA bash command example demonstrating the usage of the prisma db pull CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma db pull CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-commands-list.textA list of available Prisma CLI commands and their descriptions from the official documentation.Exact payloads, commands, or snippets shown in A list of available Prisma CLI commands and their descriptions from the official documentation.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-pull-command.bashA bash command demonstrating how to use the prisma db pull operation with a specific schema file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma db pull operation with a specific schema file path.
examples/prisma-cli-reference-docs-orm/prisma-cli-introspection.textA text representation of the terminal output generated when running a Prisma CLI introspection command.Exact payloads, commands, or snippets shown in A text representation of the terminal output generated when running a Prisma CLI introspection command.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-pull-print-command.bashA bash command demonstrating how to use the prisma db pull command with the --print flag to output the schema.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma db pull command with the --print flag to output the schema.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-definition-3.prismaA Prisma schema file demonstrating generator, datasource, and model definitions for a User and Post relationship.Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating generator, datasource, and model definitions for a User and Post relationship.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-push-command.bashA bash command example demonstrating the usage of the prisma db push CLI operation.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma db push CLI operation.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-push-accept-data-loss.bashA bash command demonstrating how to use the prisma db push command with the --accept-data-loss flag.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma db push command with the --accept-data-loss flag.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-push-command-2.bashA bash command demonstrating the use of the prisma db push operation with a custom schema path.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma db push operation with a custom schema path.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-seed-command.bashA bash command example demonstrating how to use the prisma db seed command to populate a database.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma db seed command to populate a database.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-execute-command.bashA bash command demonstrating the usage of the prisma db execute flag with a SQL file.Exact payloads, commands, or snippets shown in A bash command demonstrating the usage of the prisma db execute flag with a SQL file.
examples/prisma-cli-reference-docs-orm/prisma-cli-db-execute-stdin.bashA bash command demonstrating how to use the prisma db execute command with stdin to run a SQL truncate statement.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma db execute command with stdin to run a SQL truncate statement.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-dev-command.bashA bash command example demonstrating the usage of the prisma migrate dev CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate dev CLI command.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-dev-create-only.bashA bash command demonstrating the use of the prisma migrate dev flag to create a migration without applying it.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma migrate dev flag to create a migration without applying it.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-reset-command.bashA bash command example demonstrating how to use the prisma migrate reset command.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma migrate reset command.
examples/prisma-cli-reference-docs-orm/prisma-cli-reference.bashA terminal output log demonstrating Prisma CLI execution, environment variable loading, and a database connection error message.Exact payloads, commands, or snippets shown in A terminal output log demonstrating Prisma CLI execution, environment variable loading, and a database connection err...
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-deploy-command.bashA bash command example demonstrating the usage of the prisma migrate deploy CLI operation.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate deploy CLI operation.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-resolve-applied.bashA bash command demonstrating how to use the prisma migrate resolve command to mark a specific migration as applied.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve command to mark a specific migration as applied.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-resolve-rolled-back.bashA bash command demonstrating how to use the prisma migrate resolve command with the rolled-back flag to resolve migration states.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve command with the rolled-back flag to resolve migra...
examples/prisma-cli-reference-docs-orm/prisma-cli-reference-migration-status.textA text representation of the Prisma CLI migration status output showing discrepancies between local migration history and the database.Exact payloads, commands, or snippets shown in A text representation of the Prisma CLI migration status output showing discrepancies between local migration history...
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-status.bashA bash command example demonstrating how to use the prisma migrate status command to check the migration status of a database.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma migrate status command to check the migration status of a...
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-diff-command-usage.bashA bash command example demonstrating the usage of the prisma migrate diff command with from and to flags.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate diff command with from and to flags.
examples/prisma-cli-reference-docs-orm/prisma-migrate-diff.bashA bash command demonstrating the use of the prisma migrate diff operation with datasource and schema flags.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of the prisma migrate diff operation with datasource and schema flags.
examples/prisma-cli-reference-docs-orm/prisma-migrate-diff-command-usage.bashA bash command example demonstrating the usage of the prisma migrate diff command with schema and datasource flags.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate diff command with schema and datasource flags.
examples/prisma-cli-reference-docs-orm/prisma-migrate-diff-command-usage-2.bashA bash command example demonstrating the usage of the prisma migrate diff command with migration and datasource flags.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate diff command with migration and datasource flags.
examples/prisma-cli-reference-docs-orm/prisma-cli-migrate-diff.bashA bash command sequence demonstrating the use of prisma migrate diff to compare a datasource configuration against a schema file and output a script.Exact payloads, commands, or snippets shown in A bash command sequence demonstrating the use of prisma migrate diff to compare a datasource configuration against a...
examples/prisma-cli-reference-docs-orm/prisma-migrate-diff-2.bashA bash command demonstrating the usage of the prisma migrate diff operation with exit-code and datasource configuration flags.Exact payloads, commands, or snippets shown in A bash command demonstrating the usage of the prisma migrate diff operation with exit-code and datasource configurati...
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-command.bashA bash command example demonstrating how to launch the Prisma Studio GUI.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to launch the Prisma Studio GUI.
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-port-command.bashA bash command demonstrating how to run Prisma Studio on a specific port.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio on a specific port.
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-browser-firefox-command.bashA bash command demonstrating how to launch Prisma Studio using the Firefox browser.Exact payloads, commands, or snippets shown in A bash command demonstrating how to launch Prisma Studio using the Firefox browser.
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-browser-none-command.bashA bash command demonstrating how to run Prisma Studio without automatically opening a web browser.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio without automatically opening a web browser.
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-config-command.bashA bash command demonstrating how to run Prisma Studio with a custom configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio with a custom configuration file path.
examples/prisma-cli-reference-docs-orm/prisma-cli-studio-connection-url-command.bashA bash command demonstrating how to launch Prisma Studio with a specific database connection URL.Exact payloads, commands, or snippets shown in A bash command demonstrating how to launch Prisma Studio with a specific database connection URL.
docs/prisma-client-api-docs-orm-reference/workflow-guide.mdA technical reference guide detailing the Prisma Client API methods, query types, and schema-based generated types.Questions about a technical reference guide detailing the Prisma Client API methods, query types, and schema-based generated types.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-definition.prismaA Prisma schema definition containing a User model with relations, enums, and various field types.Exact payloads, commands, or snippets shown in A Prisma schema definition containing a User model with relations, enums, and various field types.
examples/prisma-client-api-docs-orm-reference/prisma-client-pg-adapter-typescript-setup.tsA TypeScript code example demonstrating how to initialize the Prisma Client using the PrismaPg adapter for PostgreSQL connections.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize the Prisma Client using the PrismaPg adapter for PostgreSQL...
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript.tsA TypeScript code example demonstrating how to instantiate the PrismaClient with an Accelerate URL.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the PrismaClient with an Accelerate URL.
examples/prisma-client-api-docs-orm-reference/prisma-client-query-event-type-definition.tsA TypeScript type definition for the QueryEvent object used in Prisma Client middleware or extensions.Exact payloads, commands, or snippets shown in A TypeScript type definition for the QueryEvent object used in Prisma Client middleware or extensions.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-logevent-type-definition.tsA TypeScript type definition for a LogEvent object used within the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript type definition for a LogEvent object used within the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-initialization.tsA TypeScript example demonstrating how to instantiate the PrismaClient with logging enabled and execute a basic user count query.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate the PrismaClient with logging enabled and execute a basic user...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-postgresql-connection-pool-logs.bashBash output logs showing Prisma Client initializing a PostgreSQL connection pool and executing a SELECT query.Exact payloads, commands, or snippets shown in Bash output logs showing Prisma Client initializing a PostgreSQL connection pool and executing a SELECT query.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-query-logging.tsA TypeScript example demonstrating how to instantiate the Prisma Client with query event logging enabled.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate the Prisma Client with query event logging enabled.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-metrics-json-structure.jsonA JSON object representing the structure of Prisma Client metrics including query details, parameters, and duration.Exact payloads, commands, or snippets shown in A JSON object representing the structure of Prisma Client metrics including query details, parameters, and duration.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-initialization-and-logging.tsA TypeScript example demonstrating how to instantiate the Prisma Client with custom event-based logging configurations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate the Prisma Client with custom event-based logging configurations.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-log-event-structure.jsonA JSON object representing the structure of log events emitted by the Prisma Client API.Exact payloads, commands, or snippets shown in A JSON object representing the structure of log events emitted by the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript-2.tsA TypeScript code example demonstrating how to instantiate the Prisma Client with default configuration.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the Prisma Client with default configuration.
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript-3.tsA TypeScript code snippet demonstrating how to instantiate the Prisma Client with custom error formatting options.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to instantiate the Prisma Client with custom error formatting options.
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript-4.tsA TypeScript code example demonstrating how to instantiate the Prisma Client with specific configuration options like errorFormat.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the Prisma Client with specific configuration options like...
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript-5.tsA TypeScript code snippet demonstrating how to instantiate the Prisma Client with custom error formatting options.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to instantiate the Prisma Client with custom error formatting options.
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-typescript-6.tsA TypeScript code example demonstrating how to instantiate the PrismaClient with custom extensions and connection configurations.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to instantiate the PrismaClient with custom extensions and connection con...
examples/prisma-client-api-docs-orm-reference/prisma-client-sqlcommenter-plugin-typescript.tsA TypeScript example demonstrating how to implement a custom SqlCommenterPlugin within the PrismaClient configuration.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to implement a custom SqlCommenterPlugin within the PrismaClient configuration.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-sql-query.sqlA SQL query representing the output of a Prisma Client findMany operation on the User model.Exact payloads, commands, or snippets shown in A SQL query representing the output of a Prisma Client findMany operation on the User model.
examples/prisma-client-api-docs-orm-reference/prisma-client-instantiation-transaction-options-typescript.tsA TypeScript example demonstrating how to instantiate the Prisma Client with custom transaction isolation levels and timeout settings.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate the Prisma Client with custom transaction isolation levels and...
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a single user by ID.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a single user by ID.
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-typescript-2.tsA TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a user by email.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a user by email.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-model-definition.prismaA Prisma schema model definition demonstrating the use of unique constraints on multiple fields.Exact payloads, commands, or snippets shown in A Prisma schema model definition demonstrating the use of unique constraints on multiple fields.
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique.tsA TypeScript code example demonstrating the usage of the prisma.user.findUnique method with a unique attribute filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findUnique method with a unique attribute filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-model-definition.prismaA Prisma schema definition demonstrating a User model with a composite primary key using firstName and lastName.Exact payloads, commands, or snippets shown in A Prisma schema definition demonstrating a User model with a composite primary key using firstName and lastName.
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-typescript-3.tsA TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a specific user record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findUnique method to retrieve a specific user re...
examples/prisma-client-api-docs-orm-reference/prisma-client-finduniqueorthrow-typescript.tsA TypeScript code example demonstrating the usage of the findUniqueOrThrow method within the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the findUniqueOrThrow method within the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-transaction.tsA TypeScript code example demonstrating the usage of the Prisma Client interactive transaction API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the Prisma Client interactive transaction API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findfirst-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.findFirst method to query a user by name.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findFirst method to query a user by name.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-usage.tsA TypeScript code example demonstrating basic Prisma Client operations including create and findFirst with filtering and ordering.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating basic Prisma Client operations including create and findFirst with filtering...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-transaction-2.tsA TypeScript code example demonstrating the usage of the prisma.$transaction method with an async callback.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.$transaction method with an async callback.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-create-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.create method to insert a new user record into the database.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.create method to insert a new user record into the...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-instantiation-and-query-logging.tsA TypeScript example demonstrating how to instantiate the PrismaClient with query logging enabled and define user creation input types.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to instantiate the PrismaClient with query logging enabled and define user cre...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-sql-query-logs.sqlSQL query logs showing the raw database operations generated by the Prisma Client.Exact payloads, commands, or snippets shown in SQL query logs showing the raw database operations generated by the Prisma Client.
examples/prisma-client-api-docs-orm-reference/prisma-client-update-user-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client update method to modify a user record by ID.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client update method to modify a user record by ID.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-upsert-typescript.tsA TypeScript code example demonstrating the usage of the Prisma Client upsert operation on a user model.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the Prisma Client upsert operation on a user model.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-model-definition-2.prismaA Prisma schema model definition for a User entity including unique constraints and composite indexes.Exact payloads, commands, or snippets shown in A Prisma schema model definition for a User entity including unique constraints and composite indexes.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-user-upsert.tsA TypeScript code example demonstrating the usage of the prisma.user.upsert method to create or update a user record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.upsert method to create or update a user record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-sql-upsert-user-query.sqlA SQL statement demonstrating an upsert operation on the User table using ON CONFLICT logic.Exact payloads, commands, or snippets shown in A SQL statement demonstrating an upsert operation on the User table using ON CONFLICT logic.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-upsert-typescript.tsA TypeScript example demonstrating the usage of the prisma.User.upsert method to create or update a user record.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the prisma.User.upsert method to create or update a user record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-upsert-typescript-2.tsA TypeScript code example demonstrating the usage of the prisma.User.upsert method to create or update a user record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.User.upsert method to create or update a user record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-upsert-typescript-2.tsA TypeScript example demonstrating the usage of the prisma.user.upsert method with nested select and create operations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the prisma.user.upsert method with nested select and create operations.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-delete-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.delete method to remove a user record by ID.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.delete method to remove a user record by ID.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-delete-typescript-2.tsA TypeScript code example demonstrating how to use the prisma.user.delete method to remove a user by email and select specific fields.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.delete method to remove a user by email and select...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-object.jsonA JSON object representing a user record with email and name fields used as a Prisma Client API reference example.Exact payloads, commands, or snippets shown in A JSON object representing a user record with email and name fields used as a Prisma Client API reference example.
examples/prisma-client-api-docs-orm-reference/prisma-client-create-many-typescript.tsA TypeScript code example demonstrating the use of the prisma.user.createMany method to insert multiple user records into a database.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.user.createMany method to insert multiple user records...
examples/prisma-client-api-docs-orm-reference/prisma-client-create-many-and-return-typescript.tsA TypeScript example demonstrating the use of the prisma.user.createManyAndReturn method to insert multiple records and return the created data.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the prisma.user.createManyAndReturn method to insert multiple records a...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure.jsonA JSON array representing sample user records with id, name, email, and profileViews fields.Exact payloads, commands, or snippets shown in A JSON array representing sample user records with id, name, email, and profileViews fields.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-batchpayload-typescript-type-definition.tsA TypeScript type definition for the BatchPayload object within the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript type definition for the BatchPayload object within the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-updatemany-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.updateMany method to update multiple user records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.updateMany method to update multiple user records.
examples/prisma-client-api-docs-orm-reference/prisma-client-updatemany-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.updateMany method with nested filtering criteria.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.updateMany method with nested filtering criteria.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-updatemany.tsA TypeScript code example demonstrating the usage of the prisma.user.updateMany method to update multiple user records based on a filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.updateMany method to update multiple user record...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-many-and-return-typescript.tsA TypeScript code example demonstrating the use of the updateManyAndReturn method on a Prisma Client model.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the updateManyAndReturn method on a Prisma Client model.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure-2.jsonA JSON array representing sample user records with id, name, email, role, and profileViews fields.Exact payloads, commands, or snippets shown in A JSON array representing sample user records with id, name, email, role, and profileViews fields.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-delete-many.tsA TypeScript code snippet demonstrating the usage of the prisma.user.deleteMany method to delete multiple records.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the prisma.user.deleteMany method to delete multiple records.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-deletemany.tsA TypeScript code example demonstrating the usage of the prisma.user.deleteMany method to remove records based on a specific condition.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.deleteMany method to remove records based on a s...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-delete-many-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.deleteMany method with a where clause containing a contains filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.deleteMany method with a where clause containing...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-count.tsA TypeScript code snippet demonstrating the usage of the prisma.user.count() method from the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the prisma.user.count() method from the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-count.tsA TypeScript example demonstrating how to use the prisma.user.count method with a nested relation filter.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.count method with a nested relation filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-count-select-typescript.tsA TypeScript example demonstrating how to use the prisma.user.count method with a select object to count specific user fields.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.count method with a select object to count specific use...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-aggregate-user.tsA TypeScript example demonstrating the use of the aggregate operation on a user model to calculate count, max, and min values.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the aggregate operation on a user model to calculate count, max, and mi...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-query-aggregation.jsonA JSON object demonstrating Prisma Client aggregation operations such as count, max, and min on a model.Exact payloads, commands, or snippets shown in A JSON object demonstrating Prisma Client aggregation operations such as count, max, and min on a model.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-aggregate-sum-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.aggregate method to calculate the sum of profile views.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.aggregate method to calculate the sum of profile v...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-json-structure.jsonA JSON representation of the Prisma Client API reference schema and object structure.Exact payloads, commands, or snippets shown in A JSON representation of the Prisma Client API reference schema and object structure.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-groupby.tsA TypeScript code example demonstrating the usage of the Prisma Client groupBy operation to aggregate user data by country and city.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the Prisma Client groupBy operation to aggregate user data by co...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-aggregation-result.jsonA JSON representation of an aggregation result object containing country and city statistics from a Prisma Client query.Exact payloads, commands, or snippets shown in A JSON representation of an aggregation result object containing country and city statistics from a Prisma Client query.
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-2.tsA TypeScript code example demonstrating the use of the prisma.user.findUnique method with select options.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.user.findUnique method with select options.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-object-structure.jsonA JSON representation of a Prisma Client API object structure containing user profile data.Exact payloads, commands, or snippets shown in A JSON representation of a Prisma Client API object structure containing user profile data.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-typescript.tsA TypeScript code example demonstrating the use of the findMany method with a select clause in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with a select clause in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-reference-data.jsonA JSON representation of the Prisma Client API reference data containing user roles and email records.Exact payloads, commands, or snippets shown in A JSON representation of the Prisma Client API reference data containing user roles and email records.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-findmany-select-count-typescript.tsA TypeScript example demonstrating how to use the Prisma Client findMany operation with a nested count selection.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client findMany operation with a nested count selection.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-json-structure-2.jsonA JSON representation of the Prisma Client API reference documentation structure.Exact payloads, commands, or snippets shown in A JSON representation of the Prisma Client API reference documentation structure.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-typescript-2.tsA TypeScript code example demonstrating the use of the findMany method with nested select statements in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with nested select statements in the Prisma Cl...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-reference-examples.tsTypeScript code examples demonstrating various Prisma Client API methods and query patterns.Exact payloads, commands, or snippets shown in TypeScript code examples demonstrating various Prisma Client API methods and query patterns.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-include-typescript.tsA TypeScript example demonstrating the use of the findMany method with select and include options in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with select and include options in the Prisma Clien...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-json-data-structure.jsonA JSON representation of a nested user and post data structure used to demonstrate Prisma Client API object shapes.Exact payloads, commands, or snippets shown in A JSON representation of a nested user and post data structure used to demonstrate Prisma Client API object shapes.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-include-typescript.tsA TypeScript code example demonstrating the use of the findMany method with the include option to fetch related model fields in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with the include option to fetch related model...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-create-with-relation-typescript.tsA TypeScript example demonstrating how to use the Prisma Client user create operation with nested post creation and relation inclusion.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client user create operation with nested post creation and r...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-include-typescript.tsA TypeScript code snippet demonstrating the usage of the Prisma.UserInclude type for including related posts in a query.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the Prisma.UserInclude type for including related posts in a query.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-include-count-typescript.tsA TypeScript example demonstrating how to use the Prisma Client findMany operation with an include clause to count related posts for user records.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client findMany operation with an include clause to count re...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-object-structure-2.jsonA JSON representation of a Prisma Client API response object containing user records and relation counts.Exact payloads, commands, or snippets shown in A JSON representation of a Prisma Client API response object containing user records and relation counts.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-omit-typescript.tsA TypeScript example demonstrating the use of the omit option within the prisma.user.findMany method to exclude specific fields from query results.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the omit option within the prisma.user.findMany method to exclude speci...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure-3.jsonA JSON array representing sample user records containing id, email, and name fields.Exact payloads, commands, or snippets shown in A JSON array representing sample user records containing id, email, and name fields.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-omit-include-typescript.tsA TypeScript example demonstrating the use of the omit and include options within the prisma.user.findMany method.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the omit and include options within the prisma.user.findMany method.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure-4.jsonA JSON representation of the nested object structure returned by the Prisma Client API.Exact payloads, commands, or snippets shown in A JSON representation of the nested object structure returned by the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-user-omit-type.tsA TypeScript code snippet demonstrating the use of the Prisma.UserOmit type to exclude the password field from a user object.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the Prisma.UserOmit type to exclude the password field from a user...
examples/prisma-client-api-docs-orm-reference/prisma-client-generator-configuration.prismaA Prisma schema block defining the client generator with specific output paths and preview features.Exact payloads, commands, or snippets shown in A Prisma schema block defining the client generator with specific output paths and preview features.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relationloadstrategy.tsA TypeScript example demonstrating the use of the relationLoadStrategy option within the prisma.user.findMany method.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the relationLoadStrategy option within the prisma.user.findMany method.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relationloadstrategy-2.tsA TypeScript example demonstrating the use of the relationLoadStrategy option within the prisma.user.findMany method.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the relationLoadStrategy option within the prisma.user.findMany method.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-email-endswith-typescript.tsA TypeScript code example demonstrating the use of the prisma.user.findMany method with a where filter using the endsWith operator on the email field.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.user.findMany method with a where filter using the ends...
examples/prisma-client-api-docs-orm-reference/prisma-client-userwhereinput-typescript.tsA TypeScript code example demonstrating the usage of the UserWhereInput type for filtering user records in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the UserWhereInput type for filtering user records in Prisma Cli...
examples/prisma-client-api-docs-orm-reference/prisma-client-userwhereuniqueinput-typescript.tsA TypeScript code snippet demonstrating the structure of the UserWhereUniqueInput type for Prisma Client queries.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the structure of the UserWhereUniqueInput type for Prisma Client queries.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-scalar-where-input.tsA TypeScript code example demonstrating the usage of Prisma.PostScalarWhereInput for filtering records by scalar values.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of Prisma.PostScalarWhereInput for filtering records by scalar values.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-post-update-input-typescript.tsA TypeScript example demonstrating the structure of a PostUpdateWithWhereUniqueWithoutAuthorInput object for the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the structure of a PostUpdateWithWhereUniqueWithoutAuthorInput object for the Pris...
examples/prisma-client-api-docs-orm-reference/prisma-client-upsert-post-title-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client upsert operation to update or create a post title.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client upsert operation to update or create a post title.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-update-many-with-where.tsA TypeScript code example demonstrating the use of the updateMany method with a where clause in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the updateMany method with a where clause in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-2.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with an orderBy argument.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with an orderBy argument.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-3.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with an orderBy argument.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with an orderBy argument.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-findmany-typescript.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with nested ordering.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with nested ordering.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-findmany-query.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with nested ordering and null handling.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with nested ordering and null ha...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-search-options-typescript.tsA TypeScript example demonstrating the use of the findMany method with search and orderBy options in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with search and orderBy options in the Prisma Clien...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-user-posts-count-typescript.tsA TypeScript code example demonstrating how to use the Prisma Client findMany method to query users ordered by their posts count.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client findMany method to query users ordered by their...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-typescript-3.tsA TypeScript code example demonstrating the use of the findMany method with select and orderBy options in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with select and orderBy options in the Prisma...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-role-data.jsonA JSON array of user objects containing email and role fields used to demonstrate Prisma Client API operations.Exact payloads, commands, or snippets shown in A JSON array of user objects containing email and role fields used to demonstrate Prisma Client API operations.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-typescript-4.tsA TypeScript code example demonstrating the use of the findMany method with select and orderBy options in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with select and orderBy options in the Prisma...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-role-data-2.jsonA JSON array containing sample user objects with email and role properties for Prisma Client API reference.Exact payloads, commands, or snippets shown in A JSON array containing sample user objects with email and role properties for Prisma Client API reference.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-select-orderby-typescript.tsA TypeScript example demonstrating the use of the findMany method with select and orderBy arguments in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with select and orderBy arguments in the Prisma Cli...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-data-sample.jsonA JSON array containing sample user records with name and email fields used for Prisma Client API demonstrations.Exact payloads, commands, or snippets shown in A JSON array containing sample user records with name and email fields used for Prisma Client API demonstrations.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-include-select-typescript.tsA TypeScript example demonstrating how to use the findMany method with include and select filters to retrieve related posts for users.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findMany method with include and select filters to retrieve related...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-user-data.jsonA JSON representation of user records including nested post relations for demonstrating Prisma Client API data structures.Exact payloads, commands, or snippets shown in A JSON representation of user records including nested post relations for demonstrating Prisma Client API data struct...
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-include-select-typescript.tsA TypeScript example demonstrating how to use the findUnique method with nested include and select filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findUnique method with nested include and select filters in the Pri...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-model-json-structure.jsonA JSON representation of a user model including nested posts and profile fields as defined in the Prisma Client API.Exact payloads, commands, or snippets shown in A JSON representation of a user model including nested posts and profile fields as defined in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-orderby-typescript.tsA TypeScript code snippet demonstrating the use of the orderBy property within the prisma.user.findMany method to sort results by role.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the orderBy property within the prisma.user.findMany method to sor...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-role-data-structure.jsonA JSON array representing user objects with email and role properties used in Prisma Client API documentation.Exact payloads, commands, or snippets shown in A JSON array representing user objects with email and role properties used in Prisma Client API documentation.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-orderby-input-typescript.tsA TypeScript code snippet demonstrating the usage of the Prisma.UserOrderByInput type for ordering user records by email in descending order.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the Prisma.UserOrderByInput type for ordering user records by em...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-distinct-typescript.tsA TypeScript example demonstrating the use of the distinct option within the Prisma Client findMany method to retrieve unique values.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the distinct option within the Prisma Client findMany method to retriev...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure-5.jsonA JSON array containing sample location objects with city and country properties used to demonstrate Prisma Client data structures.Exact payloads, commands, or snippets shown in A JSON array containing sample location objects with city and country properties used to demonstrate Prisma Client da...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-distinct-typescript-2.tsA TypeScript example demonstrating the use of the distinct option within the prisma.user.findMany method to retrieve unique combinations of city and country.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the distinct option within the prisma.user.findMany method to retrieve...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-reference-json-data-structure-2.jsonA JSON array of objects representing sample location data used to demonstrate Prisma Client API structures.Exact payloads, commands, or snippets shown in A JSON array of objects representing sample location data used to demonstrate Prisma Client API structures.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-distinct.tsA TypeScript example demonstrating the use of the distinct option within the prisma.user.findMany method to retrieve unique combinations of city and country.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the distinct option within the prisma.user.findMany method to retrieve...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-json-data-structure-6.jsonA JSON array containing sample location objects with city and country properties used to demonstrate Prisma Client data structures.Exact payloads, commands, or snippets shown in A JSON array containing sample location objects with city and country properties used to demonstrate Prisma Client da...
examples/prisma-client-api-docs-orm-reference/prisma-client-generator-configuration-2.prismaA Prisma schema configuration block defining the client generator, output directory, and preview features.Exact payloads, commands, or snippets shown in A Prisma schema configuration block defining the client generator, output directory, and preview features.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-create-typescript-2.tsA TypeScript code snippet demonstrating how to use the prisma.user.create method with nested profile creation.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.user.create method with nested profile creation.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-profile-create-typescript.tsA TypeScript example demonstrating how to use the prisma.profile.create method with nested user creation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.profile.create method with nested user creation.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-create-typescript.tsA TypeScript code snippet demonstrating how to use the prisma.user.create method to create a user with nested post creation.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.user.create method to create a user with nested post cr...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-create.tsA TypeScript code example demonstrating how to use the Prisma Client user create operation with nested post creation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client user create operation with nested post creation.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-typescript.tsA TypeScript code example demonstrating how to use the prisma.user.update method to update a user record and create an associated profile.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.update method to update a user record and create a...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update.tsA TypeScript code example demonstrating how to use the Prisma Client update method to modify a user record and create related posts.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client update method to modify a user record and create...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-user-with-nested-create-many-typescript.tsA TypeScript example demonstrating how to use the Prisma Client update operation to modify a user record and simultaneously create multiple related posts using createMany.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update operation to modify a user record and simultan...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-user-posts-typescript.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to set specific post relations for a user.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to set specific post relations for...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-connection-error-message.textA text representation of a Prisma Client error message indicating that required connected records were not found.Exact payloads, commands, or snippets shown in A text representation of a Prisma Client error message indicating that required connected records were not found.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-profile-create-typescript-2.tsA TypeScript example demonstrating how to use the prisma.profile.create method with a nested user connection.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.profile.create method with a nested user connection.
examples/prisma-client-api-docs-orm-reference/prisma-client-profile-create-connect-typescript.tsA TypeScript example demonstrating how to use the prisma.profile.create method with a nested connect operation to link a profile to an existing user.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.profile.create method with a nested connect operation to lin...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-profile-create-typescript-3.tsA TypeScript code snippet demonstrating how to use the prisma.profile.create method to insert a new profile record.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.profile.create method to insert a new profile record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-post-create-connect.tsA TypeScript example demonstrating how to use the prisma.post.create method with a nested connect operation to link a post to an existing author.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.post.create method with a nested connect operation to link a...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-2.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and connect a profile.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and connec...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-connect.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to connect existing posts to a user record.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to connect existing posts to a use...
examples/prisma-client-api-docs-orm-reference/prisma-client-post-create-connect-or-create-typescript.tsA TypeScript example demonstrating how to use the prisma.post.create method with nested connectOrCreate operations for author tags.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.post.create method with nested connectOrCreate operations fo...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-post-create-connect-2.tsA TypeScript example demonstrating how to use the prisma.post.create method with nested connect and connectOrCreate operations.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.post.create method with nested connect and connectOrCreate o...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-profile-create-connector-typescript.tsA TypeScript example demonstrating how to use the prisma.profile.create method with a nested connectOrCreate operation on a user relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.profile.create method with a nested connectOrCreate operatio...
examples/prisma-client-api-docs-orm-reference/prisma-client-create-post-with-connector-typescript.tsA TypeScript example demonstrating how to use the Prisma Client create method to create a post while simultaneously connecting or creating an author using connectOrCreate.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client create method to create a post while simultaneously c...
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update-connector-typescript.tsA TypeScript example demonstrating how to use the prisma.user.update method with a nested connectOrCreate operation on a profile relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.update method with a nested connectOrCreate operation o...
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update-connector-typescript-2.tsA TypeScript example demonstrating how to use the prisma.user.update method with the connectOrCreate operation for related posts.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.update method with the connectOrCreate operation for re...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-3.tsA TypeScript code snippet demonstrating how to use the prisma.user.update method to modify a user record and disconnect a profile relation.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.user.update method to modify a user record and disconne...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-user-posts-disconnect-typescript.tsA TypeScript example demonstrating how to use the Prisma Client update method to disconnect specific post records from a user.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update method to disconnect specific post records fro...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-nested-update-assertion-error.textAn error message demonstrating an AssertionError when a valid parent ID is missing during a nested update to-one operation in Prisma Client.Exact payloads, commands, or snippets shown in An error message demonstrating an AssertionError when a valid parent ID is missing during a nested update to-one oper...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-typescript-2.tsA TypeScript code snippet demonstrating how to use the prisma.user.update method to modify a user's profile data.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.user.update method to modify a user's profile data.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-4.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify user data and related post records.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify user data and related po...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-upsert.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method with a nested profile upsert operation.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method with a nested profile upsert opera...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-upsert-typescript.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method with a nested upsert operation on a user's posts.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method with a nested upsert operation on...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-5.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and delete an associated profile.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and delete...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-user-update-6.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and delete associated posts.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user record and delete...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-nested-relation-typescript.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user and its nested posts simultaneously.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a user and its nested po...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-typescript-3.tsA TypeScript code example demonstrating how to use the prisma.user.update method to modify a user record and its related posts.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.update method to modify a user record and its rela...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-4.tsA TypeScript code snippet demonstrating the usage of the prisma.user.findMany method with a where clause filter.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the prisma.user.findMany method with a where clause filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-lte-comparison-typescript.tsA TypeScript example demonstrating the use of the findMany method with a less-than-or-equal comparison against a field value.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a less-than-or-equal comparison against a fiel...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-equals-typescript.tsA TypeScript example demonstrating the use of the findMany method with a where clause filtering by an array of values using the equals operator.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a where clause filtering by an array of values...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-not-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a where clause using the not operator in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a where clause using the not operator in...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-or.tsA TypeScript example demonstrating the use of the findMany method with an OR filter and null check in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with an OR filter and null check in the Prisma Clie...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-5.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where clause filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-6.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with a where filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-not-in-typescript.tsA TypeScript example demonstrating the use of the findMany operation with the NOT and in filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the NOT and in filters in the Prisma Client...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relation-filtering-typescript.tsA TypeScript example demonstrating how to use the findMany method with relation filtering and the in operator.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findMany method with relation filtering and the in operator.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-notin-typescript.tsA TypeScript example demonstrating the use of the findMany method with a notIn filter in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a notIn filter in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-likes-lt-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a less-than filter on the likes field in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a less-than filter on the likes field in...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-2.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with a filter condition.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with a filter condition.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-gt-typescript.tsA TypeScript example demonstrating the use of the findMany method with a greater-than filter on a field.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a greater-than filter on a field.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-3.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with a where filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with a where filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-js-query.jsA JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a date filter.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a date filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-js-post-count-where-contains.jsA JavaScript code snippet demonstrating how to use the prisma.post.count method with a where clause containing a string contains filter.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to use the prisma.post.count method with a where clause containing a stri...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-js-post-count-where-not.jsA JavaScript code snippet demonstrating how to use the prisma.post.count method with a NOT filter on the content field.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to use the prisma.post.count method with a NOT filter on the content field.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany.jsA JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a search filter.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a search filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-2.jsA JavaScript code example demonstrating the usage of the prisma.post.findMany method with a search filter.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating the usage of the prisma.post.findMany method with a search filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-search.jsA JavaScript code snippet demonstrating the use of the findMany method with a search filter in the Prisma Client API.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the use of the findMany method with a search filter in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-3.jsA JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a case-insensitive title filter.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the usage of the prisma.post.findMany method with a case-insensitive title fi...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-4.jsA JavaScript code snippet demonstrating the usage of the prisma.model.findMany method with a where filter.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the usage of the prisma.model.findMany method with a where filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-5.jsA JavaScript code example demonstrating the usage of the prisma.user.findMany method with a where filter.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating the usage of the prisma.user.findMany method with a where filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-and-filter.jsA JavaScript code snippet demonstrating the use of the prisma.post.findMany method with an AND filter and nested content criteria.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the use of the prisma.post.findMany method with an AND filter and nested cont...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-6.jsA JavaScript code example demonstrating the usage of the prisma.post.findMany method with filtering criteria.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating the usage of the prisma.post.findMany method with filtering criteria.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-or.jsA JavaScript code snippet demonstrating the use of the findMany method with OR and AND logical operators in the Prisma Client API.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the use of the findMany method with OR and AND logical operators in the Prism...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-or-2.jsA JavaScript code example demonstrating the use of the findMany method with an OR filter in the Prisma Client API.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating the use of the findMany method with an OR filter in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-or-filter.jsA JavaScript code snippet demonstrating the use of the findMany method with an OR filter and NOT operator in the Prisma Client API.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the use of the findMany method with an OR filter and NOT operator in the Pris...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-not-operator.jsA JavaScript code snippet demonstrating the use of the findMany method with the NOT operator to filter records in Prisma Client.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating the use of the findMany method with the NOT operator to filter records in Pri...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-query.jsA JavaScript code example demonstrating the use of the prisma.post.findMany method with complex filtering, logical operators, and relation inclusion.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating the use of the prisma.post.findMany method with complex filtering, logical op...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-relation.tsA TypeScript example demonstrating the use of the findMany method with a nested where filter on a relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a nested where filter on a relation.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-4.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-findmany.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with a relational filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with a relational filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relation-filter-typescript.tsA TypeScript code example demonstrating the use of the findMany method with relation filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with relation filters in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relation-filter-typescript-2.tsA TypeScript code snippet demonstrating the use of the findMany method with relation filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with relation filters in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-5.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with a nested where filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with a nested where filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-tags-query.tsA TypeScript code snippet demonstrating how to use the Prisma Client to query records with specific tags.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client to query records with specific tags.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-post-update-set-tags.tsA TypeScript example demonstrating how to use the prisma.post.update method with the set operation to update tags on a post.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.post.update method with the set operation to update tags on...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-post-update-tags.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify tags on a post record.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify tags on a post record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-post-update-set-tags-2.tsA TypeScript example demonstrating how to use the Prisma Client update operation to set tags on a post record.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update operation to set tags on a post record.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-update-post-tags-push.tsA TypeScript example demonstrating how to use the Prisma Client update operation to push a new value into a tags array for a post.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update operation to push a new value into a tags arra...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-update-post-tags-push.tsA TypeScript example demonstrating how to use the Prisma Client update operation to push new values into a tags array for a post record.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update operation to push new values into a tags array...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-update-post-tags.tsA TypeScript code example demonstrating how to use the Prisma Client update operation to unset tags on a post record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the Prisma Client update operation to unset tags on a post record.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-tags-has-typescript.tsA TypeScript code example demonstrating the use of the findMany method with a filter on a tags array using the has operator.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with a filter on a tags array using the has op...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-findmany-2.tsA TypeScript code example demonstrating the usage of the Prisma Client findMany operation with a NOT filter on a relation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the Prisma Client findMany operation with a NOT filter on a rela...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-tags-hasevery-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a complex where filter using the hasEvery operator on a tags field.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a complex where filter using the hasEvery...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-hassome-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a hasSome filter on a tags field in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a hasSome filter on a tags field in Prism...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-tags-isempty-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with the isEmpty filter on a tags relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with the isEmpty filter on a tags relation in...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-6.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with a filter on tags.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with a filter on tags.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-7.tsA TypeScript code example demonstrating the usage of the prisma.post.findMany method with a where clause filter.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.post.findMany method with a where clause filter.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-reference-examples-2.tsTypeScript code examples demonstrating various Prisma Client API methods and object structures.Exact payloads, commands, or snippets shown in TypeScript code examples demonstrating various Prisma Client API methods and object structures.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-order-create-relation.tsA TypeScript example demonstrating how to use the Prisma Client create operation to establish relations and set composite types for an order.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client create operation to establish relations and set compo...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-order-create.tsA TypeScript example demonstrating how to use the prisma.order.create method with embedded optional types and null values.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.order.create method with embedded optional types and null va...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-order-unset-typescript.tsA TypeScript example demonstrating how to use the prisma.order.update method with the unset operation to remove a billing address field.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.order.update method with the unset operation to remove a bil...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-order-typescript.tsA TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a specific field within an order record.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the Prisma Client update method to modify a specific field within...
examples/prisma-client-api-docs-orm-reference/prisma-client-update-order-upsert.tsA TypeScript example demonstrating how to use the Prisma Client update operation with a nested upsert on a billing address field.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the Prisma Client update operation with a nested upsert on a billing ad...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-product-update.tsA TypeScript code snippet demonstrating how to use the prisma.product.update method to push a new photo to a product's photos list.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to use the prisma.product.update method to push a new photo to a product'...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-equals-typescript-2.tsA TypeScript code snippet demonstrating the use of the findMany method with a nested equals filter on a shippingAddress field in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a nested equals filter on a shippingAddre...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-equals.tsA TypeScript example demonstrating the use of the findMany method with a where clause containing an equals filter on a nested array of objects.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a where clause containing an equals filter on...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-is-filter-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a nested 'is' filter on a shippingAddress relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a nested 'is' filter on a shippingAddress...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-isnot-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with a nested isNot filter on the shippingAddress field in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with a nested isNot filter on the shippingAddr...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-photos-isempty-typescript.tsA TypeScript code snippet demonstrating the use of the findMany method with an isEmpty filter on a photos relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany method with an isEmpty filter on a photos relation in...
examples/prisma-client-api-docs-orm-reference/prisma-client-findfirst.tsA TypeScript code example demonstrating the usage of the prisma.product.findFirst method with nested filtering criteria.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.product.findFirst method with nested filtering criteria.
examples/prisma-client-api-docs-orm-reference/prisma-client-findfirst-2.tsA TypeScript code example demonstrating the use of the prisma.product.findFirst method with a nested where clause.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.product.findFirst method with a nested where clause.
examples/prisma-client-api-docs-orm-reference/prisma-client-findfirst-3.tsA TypeScript code example demonstrating the usage of the prisma.product.findFirst method with a nested where clause.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.product.findFirst method with a nested where clause.
examples/prisma-client-api-docs-orm-reference/prisma-client-updatemany-typescript-2.tsA TypeScript code snippet demonstrating the use of the prisma.post.updateMany method to increment views and likes.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the prisma.post.updateMany method to increment views and likes.
examples/prisma-client-api-docs-orm-reference/prisma-client-updatemany-typescript-3.tsA TypeScript code example demonstrating the use of the prisma.post.updateMany method to update multiple post records.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the prisma.post.updateMany method to update multiple post records.
examples/prisma-client-api-docs-orm-reference/prisma-client-updatemany-typescript-4.tsA TypeScript code snippet demonstrating the usage of the prisma.post.updateMany method to reset post views.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the usage of the prisma.post.updateMany method to reset post views.
examples/prisma-client-api-docs-orm-reference/prisma-client-api.jsonA JSON object demonstrating the structure of data returned by the Prisma Client API.Exact payloads, commands, or snippets shown in A JSON object demonstrating the structure of data returned by the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relation-filter-typescript-3.tsA TypeScript example demonstrating how to use the findMany method with nested relation filtering in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findMany method with nested relation filtering in the Prisma Client...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-7.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-array-contains-typescript.tsA TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-arraycontains-typescript.tsA TypeScript example demonstrating the use of the findMany operation with an arrayContains filter on a nested pets relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with an arrayContains filter on a nested pets re...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-arraycontains-typescript.tsA TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested path in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested path i...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-relation-filter-typescript-4.tsA TypeScript example demonstrating how to use the findMany method with nested relation filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the findMany method with nested relation filters in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-stringcontains.tsA TypeScript example demonstrating the use of the findMany operation with a nested stringContains filter on a pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a nested stringContains filter on a pets re...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-stringstartswith.tsA TypeScript example demonstrating the use of the findMany operation with a nested stringStartsWith filter on a pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a nested stringStartsWith filter on a pets...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-stringstartswith-2.tsA TypeScript example demonstrating the use of the findMany operation with a nested stringStartsWith filter on a pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a nested stringStartsWith filter on a pets...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-relation-filter.tsA TypeScript example demonstrating the use of the findMany method with nested relation filters in the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with nested relation filters in the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-8.tsA TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.findMany method with nested filtering.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-relation-filter-2.tsA TypeScript example demonstrating the use of the findMany method with a nested relation filter on the pets field.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a nested relation filter on the pets field.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-relation-filter-3.tsA TypeScript example demonstrating the use of the findMany operation with a nested relation filter on the user model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a nested relation filter on the user model.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-arraycontains-typescript-2.tsA TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-arraycontains.tsA TypeScript example demonstrating the use of the findMany operation with an arrayContains filter on a nested pets relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with an arrayContains filter on a nested pets re...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-arraycontains-typescript-3.tsA TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the arrayContains filter on a nested relation.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-arraycontains-typescript-2.tsA TypeScript code snippet demonstrating the use of the findMany operation with an arrayContains filter on a nested pets relation in Prisma Client.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the findMany operation with an arrayContains filter on a nested pe...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-arraystartswith.tsA TypeScript example demonstrating the use of the findMany operation with an arrayStartsWith filter on a nested pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with an arrayStartsWith filter on a nested pets...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-arraystartswith-2.tsA TypeScript example demonstrating the use of the findMany operation with a nested where filter using the arraystartswith operator on a pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a nested where filter using the arraystarts...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-array-endswith-typescript.tsA TypeScript example demonstrating the use of the findMany operation with the array-endswith filter on a nested relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with the array-endswith filter on a nested relat...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-pets-path.tsA TypeScript example demonstrating the use of the findMany method with a nested path filter on the pets relation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany method with a nested path filter on the pets relation.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-generated-type-satisfies.tsA TypeScript code snippet demonstrating the use of the satisfies operator with Prisma.GeneratedType for client API arguments.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the satisfies operator with Prisma.GeneratedType for client API ar...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-user-create-input.tsA TypeScript example demonstrating the structure of the UserCreateInput type using the Prisma Client API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the structure of the UserCreateInput type using the Prisma Client API.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-lte-typescript.tsA TypeScript code example demonstrating the use of the findMany method with a less-than-or-equal filter on a product quantity field.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the use of the findMany method with a less-than-or-equal filter on a product...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-findmany-type-error.tsA TypeScript example demonstrating a type error when using the findMany operation with incompatible field types in a where clause.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating a type error when using the findMany operation with incompatible field types in a...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-ts-findmany-type-error-2.tsA TypeScript example demonstrating a type error when using a field from the User model within a findMany query on the Order model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating a type error when using a field from the User model within a findMany query on the...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-groupby-operation.tsA TypeScript code example demonstrating the usage of the prisma.user.groupBy method with by and having clauses.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.groupBy method with by and having clauses.
examples/prisma-client-api-docs-orm-reference/prisma-client-api-typescript-groupby-error.tsA TypeScript code snippet demonstrating a type error when using the groupBy operation in Prisma Client due to an invalid field in the having clause.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating a type error when using the groupBy operation in Prisma Client due to an inva...
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-where-in-typescript.tsA TypeScript example demonstrating the use of the findMany operation with a where filter using the in operator on a user model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the findMany operation with a where filter using the in operator on a u...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-model-definition-2.prismaA Prisma schema definition for a User model containing id, email, city, and version fields.Exact payloads, commands, or snippets shown in A Prisma schema definition for a User model containing id, email, city, and version fields.
examples/prisma-client-api-docs-orm-reference/prisma-client-update-one-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.update method to modify a record using a where clause and atomic increments.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.update method to modify a record using a where c...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-post-update-typescript.tsA TypeScript example demonstrating how to use the prisma.post.update method to modify a post record by its ID and author ID.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.post.update method to modify a post record by its ID and aut...
examples/prisma-client-api-docs-orm-reference/prisma-client-findunique-typescript-4.tsA TypeScript code snippet demonstrating the use of the prisma.findUnique method to retrieve a specific record by ID.Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating the use of the prisma.findUnique method to retrieve a specific record by ID.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update-where-clause.tsA TypeScript example demonstrating the use of the update method with a complex where clause combining a unique identifier and logical OR operators.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the update method with a complex where clause combining a unique identi...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-invalid-where-clause-typescript.tsA TypeScript example demonstrating an invalid Prisma Client update operation where the where clause lacks a unique field outside of boolean operators.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating an invalid Prisma Client update operation where the where clause lacks a unique fi...
examples/prisma-client-api-docs-orm-reference/prisma-client-api-user-update-nested-relation-typescript-2.tsA TypeScript example demonstrating how to use the prisma.user.update method to perform a nested update on a related model.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.update method to perform a nested update on a related m...
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update-upsert-typescript.tsA TypeScript example demonstrating how to use the prisma.user.update method with a nested upsert operation.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use the prisma.user.update method with a nested upsert operation.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update.tsA TypeScript code example demonstrating how to use the prisma.user.update method to modify a user record.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use the prisma.user.update method to modify a user record.
examples/prisma-client-api-docs-orm-reference/prisma-client-user-update-typescript.tsA TypeScript code example demonstrating the usage of the prisma.user.update method with a where clause and data object.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the usage of the prisma.user.update method with a where clause and data object.
examples/prisma-client-api-docs-orm-reference/prisma-client-findmany-typescript-8.tsA TypeScript code example demonstrating the asynchronous execution of the prisma.post.findMany operation.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating the asynchronous execution of the prisma.post.findMany operation.
docs/config-api-docs-orm-reference-prisma/workflow-guide.mdA technical reference guide detailing the configuration options and syntax for the Prisma ORM configuration API.Questions about a technical reference guide detailing the configuration options and syntax for the Prisma ORM configuration API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript.tsA TypeScript example demonstrating the use of the defineConfig function to configure schema paths, migrations, and datasource environment variables in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the defineConfig function to configure schema paths, migrations, and da...
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript.tsA TypeScript example demonstrating the implementation of the Prisma Config API including schema path, migration settings, and datasource environment variable configuration.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the implementation of the Prisma Config API including schema path, migration setti...
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript-definition.tsA TypeScript type definition for the PrismaConfig object including experimental, schema, and migration properties.Exact payloads, commands, or snippets shown in A TypeScript type definition for the PrismaConfig object including experimental, schema, and migration properties.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-2.tsA TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-3.tsA TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-4.tsA TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-5.tsA TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-external-tables-error.bashA bash command output demonstrating a configuration error when the externalTables setting is used without enabling the experimental flag.Exact payloads, commands, or snippets shown in A bash command output demonstrating a configuration error when the externalTables setting is used without enabling th...
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-6.tsA TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-d1-adapter-typescript.tsA TypeScript example demonstrating how to configure the Prisma Config API to use a Cloudflare D1 adapter.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the Prisma Config API to use a Cloudflare D1 adapter.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-7.tsA TypeScript example demonstrating the use of the defineConfig function to configure the Prisma engine and datasource settings.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the defineConfig function to configure the Prisma engine and datasource...
examples/config-api-docs-orm-reference-prisma/prisma-config-api-studio-command.bashA bash command demonstrating how to run Prisma Studio using a specific configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio using a specific configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-studio-command-2.bashA bash command demonstrating how to run Prisma Studio using a specific configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio using a specific configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-studio-command-3.bashA bash command demonstrating how to run Prisma Studio using a specific configuration file via the yarn dlx command.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio using a specific configuration file via the yarn dlx command.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-studio-bunx-command.bashA bash command demonstrating how to run Prisma Studio using a specific configuration file via bunx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run Prisma Studio using a specific configuration file via bunx.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-ts-experimental-studio-adapter.tsA TypeScript example demonstrating how to configure the experimental Prisma Studio adapter using LibSQL.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to configure the experimental Prisma Studio adapter using LibSQL.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript-2.tsA TypeScript example demonstrating the structure of a Prisma configuration object using the PrismaConfig type.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the structure of a Prisma configuration object using the PrismaConfig type.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-dotenv-install.bashA bash command to install the dotenv package for use with the Prisma Config API.Exact payloads, commands, or snippets shown in A bash command to install the dotenv package for use with the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-pnpm-add-dotenv.bashA bash command demonstrating how to add the dotenv package using pnpm within the context of the Prisma Config API.Exact payloads, commands, or snippets shown in A bash command demonstrating how to add the dotenv package using pnpm within the context of the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-dotenv-install-2.bashA bash command to install the dotenv package using yarn for use with the Prisma Config API.Exact payloads, commands, or snippets shown in A bash command to install the dotenv package using yarn for use with the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-bun-dotenv-install.bashA bash command demonstrating how to add the dotenv package using the bun package manager for Prisma configuration.Exact payloads, commands, or snippets shown in A bash command demonstrating how to add the dotenv package using the bun package manager for Prisma configuration.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-8.tsA TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-tsx-execution-commands.bashBash commands for executing TypeScript files using tsx with various environment title flags.Exact payloads, commands, or snippets shown in Bash commands for executing TypeScript files using tsx with various environment title flags.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-defineconfig-typescript-9.tsA TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function within the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-env-error.bashA bash terminal output demonstrating a PrismaConfigEnvError when a required environment variable is missing.Exact payloads, commands, or snippets shown in A bash terminal output demonstrating a PrismaConfigEnvError when a required environment variable is missing.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript-defineconfig.tsA TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the usage of the defineConfig function for configuring the Prisma ORM settings.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript-3.tsA TypeScript example demonstrating the configuration object structure for the Prisma Config API.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the configuration object structure for the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-directory-structure.textA text representation of a project directory structure showing the relationship between migrations, models, and the schema.prisma file.Exact payloads, commands, or snippets shown in A text representation of a project directory structure showing the relationship between migrations, models, and the s...
examples/config-api-docs-orm-reference-prisma/prisma-config-api-project-structure.textA directory structure and file layout demonstrating the implementation of the Prisma Config API.Exact payloads, commands, or snippets shown in A directory structure and file layout demonstrating the implementation of the Prisma Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-command.bashA bash command demonstrating how to use pnpm prisma validate to check the Prisma configuration and schema.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use pnpm prisma validate to check the Prisma configuration and schema.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-command-2.bashA bash command demonstrating how to use the prisma validate command to verify prisma.config.ts resolution.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma validate command to verify prisma.config.ts resolution.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate.bashA bash command demonstrating the use of npx prisma validate to check the configuration file.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of npx prisma validate to check the configuration file.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-pnpm-command.bashA bash command demonstrating how to use pnpm to run the prisma validate command for checking configuration files.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use pnpm to run the prisma validate command for checking configuration files.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-2.bashA bash command demonstrating the use of yarn dlx prisma validate to verify the prisma configuration.Exact payloads, commands, or snippets shown in A bash command demonstrating the use of yarn dlx prisma validate to verify the prisma configuration.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-bunx.bashA bash command demonstrating how to use bunx to run the prisma validate command for the Config API.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run the prisma validate command for the Config API.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-error.bashA bash command demonstrating a validation error when running npx prisma validate without a schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating a validation error when running npx prisma validate without a schema file.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-error-2.bashA bash command demonstrating a validation error when running prisma validate without a schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating a validation error when running prisma validate without a schema file.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-error-3.bashA bash command demonstrating a validation error when running prisma validate without a schema file.Exact payloads, commands, or snippets shown in A bash command demonstrating a validation error when running prisma validate without a schema file.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-error-4.bashA bash command demonstrating a Prisma validation error when the schema cannot be found in the current directory.Exact payloads, commands, or snippets shown in A bash command demonstrating a Prisma validation error when the schema cannot be found in the current directory.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-3.bashA bash command demonstrating how to use the npx prisma validate command with a custom configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the npx prisma validate command with a custom configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-bash-command.bashA bash command demonstrating how to use the prisma validate operation with a custom configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma validate operation with a custom configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-4.bashA bash command demonstrating how to use the prisma validate operation with a custom configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma validate operation with a custom configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-bunx-2.bashA bash command demonstrating how to use bunx to run the prisma validate operation with a specific configuration file.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use bunx to run the prisma validate operation with a specific configuration file.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-validate-command-3.bashA bash command demonstrating how to use the prisma validate flag with a custom configuration file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma validate flag with a custom configuration file path.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-database-url-env-variable.bashAn example of setting the DATABASE_URL environment variable for the Prisma Config API using bash.Exact payloads, commands, or snippets shown in An example of setting the DATABASEURL environment variable for the Prisma Config API using bash.
examples/config-api-docs-orm-reference-prisma/prisma-config-api-typescript-defineconfig-2.tsA TypeScript example demonstrating the use of the defineConfig function to configure schema paths, migrations, and datasource environment variables in Prisma.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating the use of the defineConfig function to configure schema paths, migrations, and da...

What This Skill Covers

  • API patterns (/docs/orm/core-concepts/api-patterns): - Data modeling: Learn how data modeling with Prisma differs from data modeling with SQL or ORMs. Prisma uses a declarative data modeling language to describ...
  • Data modeling (/docs/orm/core-concepts/data-modeling): Data modeling (/docs/orm/core-concepts/data-modeling)
  • Database drivers (/docs/orm/core-concepts/supported-databases/database-drivers): Database drivers (/docs/orm/core-concepts/supported-databases/database-drivers)
  • Best practices (/docs/orm/more/best-practices): - Dev environment: Set up your local Prisma ORM development environment, including editor tooling and environment variables. - ORM releases and maturity leve...
  • Drizzle (/docs/orm/more/comparisons/prisma-and-drizzle): - Mongoose: Learn how Prisma ORM compares to Mongoose - Sequelize: Learn how Prisma ORM compares to Sequelize - TypeORM: Learn how Prisma compares to TypeORM
  • Dev environment (/docs/orm/more/dev-environment): Dev environment (/docs/orm/more/dev-environment)
  • Editor setup (/docs/orm/more/dev-environment/editor-setup): Editor setup (/docs/orm/more/dev-environment/editor-setup)
  • Environment variables (/docs/orm/more/dev-environment/environment-variables): Environment variables (/docs/orm/more/dev-environment/environment-variables)
  • Bundler issues (/docs/orm/more/troubleshooting/bundler-issues): Bundler issues (/docs/orm/more/troubleshooting/bundler-issues)
  • Check constraints (/docs/orm/more/troubleshooting/check-constraints): Check constraints (/docs/orm/more/troubleshooting/check-constraints)
  • Add methods to Prisma Client (/docs/orm/prisma-client/client-extensions/client): Add methods to Prisma Client (/docs/orm/prisma-client/client-extensions/client)
  • Add custom methods to your models (/docs/orm/prisma-client/client-extensions/model): Add custom methods to your models (/docs/orm/prisma-client/client-extensions/model)
  • Create custom Prisma Client queries (/docs/orm/prisma-client/client-extensions/query): Create custom Prisma Client queries (/docs/orm/prisma-client/client-extensions/query)
  • Add custom fields and methods to query results (/docs/orm/prisma-client/client-extensions/result: Add custom fields and methods to query results (/docs/orm/prisma-client/client-extensions/result)
  • Debugging (/docs/orm/prisma-client/debugging-and-troubleshooting/debugging): Debugging (/docs/orm/prisma-client/debugging-and-troubleshooting/debugging)
  • Caveats when deploying to AWS platforms (/docs/orm/prisma-client/deployment/caveats-when-deployi: Caveats when deploying to AWS platforms (/docs/orm/prisma-client/deployment/caveats-when-deploying-to-aws-platforms)
  • Deploying database changes with Prisma Migrate (/docs/orm/prisma-client/deployment/deploy-databa: Deploying database changes with Prisma Migrate (/docs/orm/prisma-client/deployment/deploy-database-changes-with-prisma-migrate)
  • Deploy migrations from a local environment (/docs/orm/prisma-client/deployment/deploy-migrations: Deploy migrations from a local environment (/docs/orm/prisma-client/deployment/deploy-migrations-from-a-local-environment)
  • Deploy Prisma ORM (/docs/orm/prisma-client/deployment/deploy-prisma): Deploy Prisma ORM (/docs/orm/prisma-client/deployment/deploy-prisma)
  • Deploy to Cloudflare Workers & Pages (/docs/orm/prisma-client/deployment/edge/deploy-to-cloudfla: Deploy to Cloudflare Workers & Pages (/docs/orm/prisma-client/deployment/edge/deploy-to-cloudflare)
  • Deploy to Deno Deploy (/docs/orm/prisma-client/deployment/edge/deploy-to-deno-deploy): Deploy to Deno Deploy (/docs/orm/prisma-client/deployment/edge/deploy-to-deno-deploy)
  • Deploy to Vercel Edge Functions & Middleware (/docs/orm/prisma-client/deployment/edge/deploy-to-: - Deploy to Cloudflare Workers & Pages: Learn the things you need to know in order to deploy an app that uses Prisma Client for talking to a database to a Cl...
  • Deploying edge functions with Prisma ORM (/docs/orm/prisma-client/deployment/edge/overview): Deploying edge functions with Prisma ORM (/docs/orm/prisma-client/deployment/edge/overview)
  • Deploy to AWS Lambda (/docs/orm/prisma-client/deployment/serverless/deploy-to-aws-lambda): - Deploy to Azure Functions: Learn how to deploy a Prisma Client based REST API to Azure Functions and connect to an Azure SQL database - Deploy to Netlify:...
  • Deploy to Azure Functions (/docs/orm/prisma-client/deployment/serverless/deploy-to-azure-functio: Deploy to Azure Functions (/docs/orm/prisma-client/deployment/serverless/deploy-to-azure-functions)
  • Deploy to Netlify (/docs/orm/prisma-client/deployment/serverless/deploy-to-netlify): Deploy to Netlify (/docs/orm/prisma-client/deployment/serverless/deploy-to-netlify)
  • Deploy to Vercel (/docs/orm/prisma-client/deployment/serverless/deploy-to-vercel): - Deploy to AWS Lambda: Learn how to deploy your Prisma ORM-backed applications to AWS Lambda with AWS SAM, Serverless Framework, or SST - Deploy to Azure Fu...
  • Deploy to Fly.io (/docs/orm/prisma-client/deployment/traditional/deploy-to-flyio): Deploy to Fly.io (/docs/orm/prisma-client/deployment/traditional/deploy-to-flyio)
  • Deploy to Heroku (/docs/orm/prisma-client/deployment/traditional/deploy-to-heroku): - Deploy to Fly.io: Learn how to deploy a Node.js server that uses Prisma ORM to Fly.io - Deploy to Koyeb: Learn how to deploy a Node.js server that uses Pri...
  • Deploy to Koyeb (/docs/orm/prisma-client/deployment/traditional/deploy-to-koyeb): Deploy to Koyeb (/docs/orm/prisma-client/deployment/traditional/deploy-to-koyeb)
  • Deploy to Railway (/docs/orm/prisma-client/deployment/traditional/deploy-to-railway): Deploy to Railway (/docs/orm/prisma-client/deployment/traditional/deploy-to-railway)
  • Deploy to Render (/docs/orm/prisma-client/deployment/traditional/deploy-to-render): Deploy to Render (/docs/orm/prisma-client/deployment/traditional/deploy-to-render)
  • Deploy to Sevalla (/docs/orm/prisma-client/deployment/traditional/deploy-to-sevalla): Deploy to Sevalla (/docs/orm/prisma-client/deployment/traditional/deploy-to-sevalla)
  • Aggregation, grouping, and summarizing (/docs/orm/prisma-client/queries/aggregation-grouping-sum: Aggregation, grouping, and summarizing (/docs/orm/prisma-client/queries/aggregation-grouping-summarizing)
  • CRUD (/docs/orm/prisma-client/queries/crud): CRUD (/docs/orm/prisma-client/queries/crud)
  • Excluding fields (/docs/orm/prisma-client/queries/excluding-fields): Excluding fields (/docs/orm/prisma-client/queries/excluding-fields)
  • Custom model and field names (/docs/orm/prisma-client/setup-and-configuration/custom-model-and-f: Custom model and field names (/docs/orm/prisma-client/setup-and-configuration/custom-model-and-field-names)
  • Database polyfills (/docs/orm/prisma-client/setup-and-configuration/database-polyfills): Database polyfills (/docs/orm/prisma-client/setup-and-configuration/database-polyfills)
  • Database connections (/docs/orm/prisma-client/setup-and-configuration/databases-connections): - Configuring error formatting: This page explains how to configure the formatting of errors when using Prisma Client - Custom model and field names: Learn h...
  • Connection management (/docs/orm/prisma-client/setup-and-configuration/databases-connections/con: Connection management (/docs/orm/prisma-client/setup-and-configuration/databases-connections/connection-management)
  • Connection pool (/docs/orm/prisma-client/setup-and-configuration/databases-connections/connectio: - Configure Prisma Client with PgBouncer: Configure Prisma Client with PgBouncer and other poolers: when to use pgbouncer=true, required transaction mode, pr...
  • Configure Prisma Client with PgBouncer (/docs/orm/prisma-client/setup-and-configuration/database: - Connection management: This page explains how database connections are handled with Prisma Client and how to manually connect and disconnect your database...
  • Configuring error formatting (/docs/orm/prisma-client/setup-and-configuration/error-formatting): Configuring error formatting (/docs/orm/prisma-client/setup-and-configuration/error-formatting)
  • Composite types (/docs/orm/prisma-client/special-fields-and-types/composite-types): Composite types (/docs/orm/prisma-client/special-fields-and-types/composite-types)
  • Getting started with Prisma Migrate (/docs/orm/prisma-migrate/getting-started): Getting started with Prisma Migrate (/docs/orm/prisma-migrate/getting-started)
  • About the shadow database (/docs/orm/prisma-migrate/understanding-prisma-migrate/shadow-database: About the shadow database (/docs/orm/prisma-migrate/understanding-prisma-migrate/shadow-database)
  • Baselining a database (/docs/orm/prisma-migrate/workflows/baselining): Baselining a database (/docs/orm/prisma-migrate/workflows/baselining)
  • Customizing migrations (/docs/orm/prisma-migrate/workflows/customizing-migrations): Customizing migrations (/docs/orm/prisma-migrate/workflows/customizing-migrations)
  • Development and production (/docs/orm/prisma-migrate/workflows/development-and-production): Development and production (/docs/orm/prisma-migrate/workflows/development-and-production)
  • Database mapping (/docs/orm/prisma-schema/data-model/database-mapping): Database mapping (/docs/orm/prisma-schema/data-model/database-mapping)
  • Data sources (/docs/orm/prisma-schema/overview/data-sources): Data sources (/docs/orm/prisma-schema/overview/data-sources)
  • Connection URLs (/docs/orm/reference/connection-urls): Connection URLs (/docs/orm/reference/connection-urls)
  • Database Features (/docs/orm/reference/database-features): Database Features (/docs/orm/reference/database-features)
  • Environment Variables (/docs/orm/reference/environment-variables-reference): Environment Variables (/docs/orm/reference/environment-variables-reference)
  • Error Reference (/docs/orm/reference/error-reference): Error Reference (/docs/orm/reference/error-reference)
  • Prisma Error Reference (/docs/orm/reference/errors): Prisma Error Reference (/docs/orm/reference/errors)
  • Prisma CLI reference (/docs/orm/reference/prisma-cli-reference): Prisma CLI reference (/docs/orm/reference/prisma-cli-reference)
  • Prisma Client API (/docs/orm/reference/prisma-client-reference): Prisma Client API (/docs/orm/reference/prisma-client-reference)
  • Config API (/docs/orm/reference/prisma-config-reference): - Connection URLs: Learn about the format and syntax Prisma ORM uses for defining database connection URLs for PostgreSQL, MySQL and SQLite - Database Featur...

Workflow

  1. Start with the reference file that matches the question.
  2. Prefer the most relevant file under docs/ for exact instructions and prose guidance.
  3. Use schemas/ and examples/ for exact contracts, payloads, manifests, requests, and snippets.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical Sources