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 ...
06:49
What's New in Prisma 6.12 - YouTube
54:02
Prisma AMA: New `prisma-client` generator, what have learned & ...
07:22
Prisma Tutorial for Beginners #2 - Creating Our First Schema - YouTube
Prisma AMA: New `prisma-client` generator, ESM support & D1/Turso ...
14:55
How to Use Prisma 7 in Next.js - YouTube
00:48
The prisma-client Generator is Now In Preview - YouTube
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...
Author prisma
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
Prisma Client Python
prisma-client-py.readthedocs.io › en › stable › reference › command-line
Command Line - Prisma Client Python - Read the Docs
Usage: prisma py generate [OPTIONS] Options: --schema FILE The location of the Prisma schema file.
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 › 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%