prisma/prisma
Features
Cross-cutting capabilities of prisma/prisma — things that span multiple packages and need a per-feature narrative. Each page here ties together the relevant packages with sequence diagrams and code references.
Pages
- Driver adapters — how Prisma 7 talks to databases through JS drivers
- Query execution — request → query plan → SQL → response, end to end
- Transactions — interactive and batch transactions, savepoints, isolation levels
- Migrate flow —
prisma migrate devwalked through, including Schema Engine RPC - Schema Engine RPC — the JSON-RPC contract and transports
- Client generation — how
prisma generateruns each generator - SQL Commenter plugins — plugin lifecycle and runtime
- Studio — how
prisma studioboots and runs
Why a "features" lens?
The repo has lots of structural homes (packages, generators, adapters), but several capabilities are distributed across packages. Driver adapters are a perfect example: the contract is in driver-adapter-utils, the runtime that talks through it lives in client-engine-runtime and client, the user-facing constructor option is in client, and there are nine adapter packages. Documenting it under any single package would either bury the cross-cutting view or duplicate content. The features lens fixes that.
Pages here intentionally cross-link rather than duplicate. The detailed per-package docs stay in Packages; the features pages summarize the moving parts and the data flow.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.