🌐
Prisma
prisma.io › home › generate › generate
prisma generate | Generate Prisma Client & Artifacts | Prisma Documentation
prisma generate [options] Inspects the current directory to find a Prisma schema · Generates a customized Prisma Client based on your schema into the output directory specified in the generator block · Add a generator definition in your ...
🌐
Prisma
prisma.io › home › generators › generators › generators › generators
Generators (Reference) | Prisma Documentation
prisma-generator-nestjs-dto: Generates DTO and Entity classes with relation connect and create options for use with NestJS Resources and @nestjs/swagger
🌐
Prisma
prisma.io › home › generating prisma client › generating prisma client › generating prisma client › generating prisma client
Generating Prisma Client | Prisma Documentation
prisma generate creates Prisma Client from the models and generator configuration in your schema.prisma file. ... If you want the CLI-specific options such as --watch or --generator, see the prisma generate command reference.
🌐
Prisma Client Python
prisma-client-py.readthedocs.io › en › stable › reference › custom-generators
Custom Generators - Prisma Client Python - Read the Docs
To support defining custom options you need to define the generator slightly differently: from pydantic import BaseModel from prisma.generator import Manifest, GenericData, GenericGenerator # custom options must be defined using a pydantic BaseModel class Config(BaseModel): my_option: int # we don't technically need to define our own Data class # but it makes typing easier class Data(GenericData[Config]): pass # the GenericGenerator[Data] part is what tells Prisma Client Python to use our # custom Data class with our custom Config class class MyGenerator(GenericGenerator[Data]): def get_manifest(self) -> Manifest: return Manifest( name='My Custom Generator Options', default_output='schema.md', ) def generate(self, data: Data) -> None: # generate some assets here pass if __name__ == '__main__': MyGenerator.invoke()
🌐
MCP Servers
mcpservers.org › home › agent skills library › prisma-cli-generate
prisma-cli-generate | Agent Skills Library
Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations. Covers 20+ commands organized by priority: setup ( init ), generation ( generate ), development ( dev ), database operations ( db pull/push/seed/execute ), and migrations ( migrate dev/deploy/reset/status/diff/resolve ) Includes Prisma 7.x changes: new prisma.config.ts configuration file, removed flags ( --skip-generate , --skip-seed , --schema , --url ), and explicit...
🌐
Prisma
v1.prisma.io › docs › 1.34 › prisma-cli-and-configuration › cli-command-reference › prisma-generate-xcv2
Prisma 1.34 - prisma1 generate
If you want to provide a custom endpoint, you can add it as an argument to the --endpoint option as well. ... -e, --env-file ENV-FILE Path to .env file to inject env vars -p, --project PROJECT Path to Prisma definition file --endpoint Use a specific endpoint for schema generation or pick endpoint from prisma.yml
🌐
Mintlify
mintlify.com › mintlify atlas › mintlify-atlas/docs-atlas-035637da › generator configuration
Generator Configuration - Prisma ORM
March 1, 2026 - generator client { provider = "prisma-client-js" output = "./generated/client" } The schema configuration option determines where Prisma looks for generator definitions:
🌐
Prisma
prisma.io › home › prisma cli reference › prisma cli reference › prisma cli reference
Prisma CLI reference | Prisma Documentation
generator client { provider = "prisma-client" output = "./generated" } ... As of Prisma 5.2.0, --data-proxy and --accelerate are deprecated in favor of --no-engine as Prisma Client no longer requires an option to work with Prisma Accelerate.
Find elsewhere
🌐
Prisma
prisma.io › home › overview of prisma schema › overview of prisma schema › overview of prisma schema
Prisma schema | Prisma Documentation
prisma generate: Reads all above mentioned information from the Prisma schema to generate the correct data source client code (e.g. Prisma Client). prisma migrate dev: Reads the data sources and data model definition to create a new migration.
🌐
DEV Community
dev.to › yassineldeeb › create-prisma-generator-2mdg
Create Prisma Generator - DEV Community
January 11, 2022 - version and prettyName are used by @prisma/sdk when It calls getGeneratorSuccessMessage to generate a success message from our generator manifest like shown below. defaultOutput is a fallback for the output option if It wasn't provided in the generator block.
🌐
DEV Community
dev.to › sabinthedev › building-a-prisma-schema-61b
Building a Prisma Schema - DEV Community
December 31, 2021 - generator client { provider = "prisma-client-js" } Note the generator is named client here, but that name could be anything · There are a few different options available to configure things like where to output the generated assets, but for now we'll stick to the default settings.
🌐
Prisma Client Python
prisma-client-py.readthedocs.io › en › stable › reference › config
Configuration - Prisma Client Python - Read the Docs
generator db { provider = "prisma-client-py" config_option = "value" } See the official docs for options that are not specific to Prisma Client Python.
🌐
Prisma
prisma.io › ecosystem
Prisma ORM Ecosystem
Generates object types, inputs, args, etc. from the Prisma schema file for usage with @nestjs/graphql module ... Generates DTO and Entity classes with relation connect and create options for use with NestJS Resources and @nestjs/swagger
🌐
Prisma
prisma.io › home › schema api › schema api › schema api
Prisma Schema API | Prisma Documentation
datasourceFieldsRemarksExamplesPostgreSQL datasourceSpecify a PostgreSQL data source via an environment variableMySQL datasourceMongoDB datasourceSQLite datasourceCockroachDB datasourceMulti-schema datasource (PostgreSQL)generatorFields for prisma-client-js providerFields for prisma-client providerbinaryTargets optionsmacOSWindowsLinux (Alpine on x86_64 architectures)Linux (Alpine on ARM64 architectures)Linux (Debian), x86_64Linux (Ubuntu), x86_64Linux (CentOS), x86_64Linux (Fedora), x86_64Linux (Linux Mint), x86_64Linux (Arch Linux), x86_64Linux ARM64 (all major distros but Alpine)ExamplesSpe
🌐
npm
npmjs.com › package › prisma-docs-generator
prisma-docs-generator - npm
May 17, 2023 - Serves the static html which the generator generated. It reads the output path from the prisma schema or it will use the default.
      » npm install prisma-docs-generator
    
Published   May 17, 2023
Version   0.8.0
🌐
DeepWiki
deepwiki.com › prisma › prisma › 3.1-generate-command
Generate Command | prisma/prisma | DeepWiki
December 1, 2025 - The Generator Registry maps provider strings to generator definitions, enabling both built-in and custom generators: ... Default Registry: The CLI imports defaultRegistry from @prisma/client-generator-registry packages/cli/src/Generate.ts1 which provides built-in generators like prisma-client-js and prisma-client-ts.
🌐
GitHub
github.com › kimjbstar › prisma-class-generator
GitHub - kimjbstar/prisma-class-generator: Class generator from Prisma schema. · GitHub
The Generator can create two separate files per model, one that matches the Prisma Js Client's interfaces, and one that contains only the relational fields. You can set the separateRelationFields option to true if you want to generate two separate classes for each model.
Starred by 190 users
Forked by 57 users
Languages   TypeScript 99.9% | JavaScript 0.1%