Skip to content

Conversation

@AmanVarshney01
Copy link
Contributor

@AmanVarshney01 AmanVarshney01 commented Nov 16, 2025

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced prisma.config.ts for centralized database configuration management
    • Updated Prisma Client generator with new provider configuration (prisma-client) and explicit output path settings
  • Bug Fixes & Updates

    • Fixed SQLite adapter naming: PrismaBetterSQLite3PrismaBetterSqlite3
    • Updated import paths and code examples to reflect generated client locations
  • Documentation

    • Refreshed examples across database guides and deployment docs
    • Standardized admonition formatting for improved readability

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 16, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request systematically updates Prisma documentation across 80+ files, changing the Prisma generator provider from "prisma-client-js" to "prisma-client", updating code example imports to reference generated client paths instead of the published @prisma/client package, relocating datasource URL configuration from schema files to prisma.config.ts, replacing admonition markup syntax with Markdown directives, and updating adapter naming conventions in database-specific guides.

Changes

Cohort / File(s) Summary
Generator Configuration Updates
content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx, content/200-orm/050-overview/300-prisma-in-your-stack/*.mdx, content/200-orm/100-prisma-schema/**/*.mdx, content/200-orm/200-prisma-client/**/*.mdx, content/200-orm/300-prisma-migrate/**/*.mdx, content/200-orm/500-reference/*.mdx
Prisma schema examples updated to use provider = "prisma-client" instead of "prisma-client-js" and new output = "./generated" directive added to generator blocks across database guides and API references.
PrismaClient Import Path Updates
content/200-orm/050-overview/**/*.mdx, content/200-orm/100-prisma-schema/**/*.mdx, content/200-orm/200-prisma-client/**/*.mdx, content/200-orm/500-reference/050-prisma-client-reference.mdx
Code examples updated to import PrismaClient from generated paths (e.g., './generated/client', '../prisma/generated/client') instead of '@prisma/client' across ORM documentation, schema references, and client guides.
Datasource URL Configuration Relocation
content/200-orm/050-overview/500-databases/{300-postgresql,400-mysql,800-sql-server,840-cockroachdb}.mdx, content/200-orm/100-prisma-schema/10-overview/index.mdx, content/200-orm/200-prisma-client/000-setup-and-configuration/{005-introduction,010-generating-prisma-client,050-databases-connections}.mdx
url = env("DATABASE_URL") lines removed from datasource blocks and moved into new prisma.config.ts files using defineConfig, with dotenv/config import guidance added.
Admonition Syntax Modernization
content/200-orm/**/*.mdx (majority of files)
<Admonition type="info">/<Admonition type="warning"> converted to :::info/:::warning Markdown directives across all documentation sections; closing </Admonition> tags replaced with :::.
Database Adapter Naming Updates
content/200-orm/050-overview/500-databases/500-sqlite.mdx, content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
PrismaBetterSQLite3 renamed to PrismaBetterSqlite3 in import and constructor usage across SQLite adapter examples.
Edge & Deployment Configuration
content/200-orm/200-prisma-client/500-deployment/301-edge/{450-deploy-to-cloudflare,485-deploy-to-vercel,550-deploy-to-deno-deploy}.mdx, content/200-orm/200-prisma-client/500-deployment/201-serverless/{300-deploy-to-vercel,400-deploy-to-aws-lambda}.mdx
PrismaClient imports updated from @prisma/client/@prisma/client/edge to generated paths; generator configurations standardized with "prisma-client" provider; Deno Deploy guide switches from Accelerate extension to PostgreSQL adapter pattern.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20–30 minutes

Areas requiring extra attention:

  • Import path context verification: Ensure generated client path references (varying between ./generated/client, ../prisma/generated/client, ../generated/prisma/client, etc.) correctly match the file's location within the documentation hierarchy and the described output configuration.
  • prisma.config.ts introduction consistency: Verify that all new prisma.config.ts examples correctly use defineConfig and env() imports, and that accompanying narrative explains the new pattern clearly.
  • Datasource URL relocation completeness: Confirm that all removed url = env("DATABASE_URL") lines from datasource blocks have corresponding mentions in prisma.config.ts sections or config file guidance to avoid reader confusion about where connection URLs are now configured.
  • Adapter naming changes: Cross-check that PrismaBetterSQLite3PrismaBetterSqlite3 changes reflect the actual public API update and are applied uniformly across all relevant examples.
  • Admonition syntax coverage: While formatting-only, verify that no admonition blocks were missed and that closing ::: markers are properly paired with opening directives.

Possibly related PRs

  • docs(config): add missing datasource reference #7206: Adds datasource shape (url/directUrl/shadowDatabaseUrl) to PrismaConfig reference—directly complements this PR's introduction of prisma.config.ts configuration patterns.
  • chore(): update guides to use new config file #7210: Mirrors this PR's changes—switching generator provider to "prisma-client", adding output path, introducing prisma.config.ts, and updating PrismaClient import paths across similar documentation sections.
  • Update ORM docs #7260: Implements the identical documentation-level updates (generator provider change, output configuration, generated client imports, and prisma.config.ts patterns) across overlapping file sets.

Pre-merge checks

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update ORM docs' is vague and generic, using non-descriptive language that doesn't convey the specific changes made across 60+ documentation files. Use a more descriptive title that captures the main change, such as 'Update Prisma ORM docs to use prisma-client generator and generated client imports' or 'Migrate ORM docs to prisma-client provider with generated output paths'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d8b25c6 and 7498df2.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (11)
  • content/200-orm/050-overview/500-databases/600-mongodb.mdx (4 hunks)
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx (2 hunks)
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx (5 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx (2 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (5 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/20-prototyping-your-schema.mdx (2 hunks)
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx (11 hunks)
  • content/200-orm/500-reference/300-environment-variables-reference.mdx (0 hunks)
  • content/200-orm/500-reference/380-connection-urls.mdx (0 hunks)
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx (1 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx (3 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2266
✅ Successful 2236
⏳ Timeouts 0
🔀 Redirected 5
👻 Excluded 22
❓ Unknown 0
🚫 Errors 2
⛔ Unsupported 1

Errors per input

Errors in 200-orm/050-overview/100-introduction/250-should-you-use-prisma.mdx

Errors in 200-orm/800-more/400-comparisons/04-prisma-and-drizzle.mdx

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 16, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7498df2
Status:⚡️  Build in progress...

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (11)
content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx (1)

517-524: Update generator provider to match PR standardization.

This MongoDB example in the @@fulltext section still uses the outdated prisma-client-js provider, which is inconsistent with the PR's goal to standardize all examples on the new prisma-client provider with explicit output paths.

Apply this diff to align with the rest of the documentation:

  generator js {
-   provider        = "prisma-client-js"
+   provider        = "prisma-client"
+   output          = "./generated"
    previewFeatures = ["fullTextIndex"]
  }
content/200-orm/050-overview/500-databases/890-neon.mdx (2)

61-67: Schema snippet is missing the promised directUrl line.

The text says “update your schema.prisma to use the new direct URL” but the snippet only shows provider. Add the directUrl line or adjust wording to match Prisma Config usage.

Apply this diff if you intend to keep it in the schema:

 datasource db {
   provider  = "postgresql"
+  directUrl = env("DIRECT_URL")
 }

120-124: Fix typo: “istall” → “install”.

“…istall the Prisma ORM adapter…” should be “…install the Prisma ORM adapter…”.

content/200-orm/500-reference/100-prisma-schema-reference.mdx (2)

27-29: Admonition syntax is malformed.

Use triple-colon blocks. Replace “::::note … ::::” with a proper block:

:::note
As of Prisma ORM v7, the `url`, `directUrl`, and `shadowDatabaseUrl` fields …
:::

171-179: Field listed under wrong generator.

moduleFormat is documented here under the prisma-client-js table but the description says “available only with prisma-client generator.” Move it to the prisma-client section or clarify availability.

content/200-orm/050-overview/500-databases/800-sql-server/index.mdx (1)

51-54: Incorrect driver attribution.

“For SQLite, node-mssql is one of the most popular drivers…” should be “For SQL Server, node-mssql…”.

Apply this diff:

-For SQLite, [`node-mssql`](https://github.com/tediousjs/node-mssql) is one of the most popular drivers in the JavaScript ecosystem. 
+For SQL Server, [`node-mssql`](https://github.com/tediousjs/node-mssql) is one of the most popular drivers in the JavaScript ecosystem.
content/200-orm/050-overview/500-databases/200-database-drivers.mdx (3)

15-16: Version text/link mismatch.

“As of v6.15.0” links to the v6.16.0 release. Align the text with the link (likely v6.16.0).


21-25: Unify generator output path across page.

You use output = "../src/generated/prisma" earlier and output = "../src/generated/client" later. Standardize to one path to prevent reader confusion.

Also applies to: 156-160


123-124: Import path likely incorrect.

import { PrismaClient } from '../prisma/prisma-client' doesn’t match the earlier configured output. Use the same generated client path (or the linked dependency name) shown elsewhere on the page.

Apply one of:

-import { PrismaClient } from '../prisma/prisma-client'
+import { PrismaClient } from '../prisma/generated/client'

or, if using a linked dependency per the section below:

-import { PrismaClient } from '../prisma/prisma-client'
+import { PrismaClient } from 'db'
content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx (1)

240-241: Fix typo: “re-dployment” → “re-deployment”.

“…to trigger a re-dployment.” → “…to trigger a re-deployment.”

content/200-orm/200-prisma-client/500-deployment/301-edge/485-deploy-to-vercel.mdx (1)

594-602: Align import path to documented convention

This documentation example deviates from the established pattern used throughout the codebase. The suggested import path ../prisma/generated/client matches the standard convention documented in 20+ other documentation files, including prisma-cli-reference.mdx, nuxt-module.mdx, and github-copilot.mdx. The current ./generated/client path only appears in this single example, making it an outlier that could confuse developers following the guides.

- import { PrismaClient } from './generated/client'
+ import { PrismaClient } from '../prisma/generated/client'
🧹 Nitpick comments (8)
content/200-orm/100-prisma-schema/20-data-model/40-views.mdx (1)

31-38: Update highlighting directive to match documentation patterns.

The addition of output = "./generated" correctly aligns with the PR objectives to standardize generator configuration with explicit output paths. However, the //add-next-line comment on line 35 appears redundant—the code block already controls highlighting via highlight=3;add in the attributes. Other examples in this file (lines 194–202, 208–216) use //highlight-start and //highlight-end for inline highlighting, suggesting this comment may be unnecessary or a leftover from the migration.

Consider removing the //add-next-line comment to keep the directive clean:

 ```prisma file=schema.prisma highlight=3;add showLineNumbers
 generator client {
   provider        = "prisma-client"
   output          = "./generated"
-  //add-next-line
   previewFeatures = ["views"]
 }

</blockquote></details>
<details>
<summary>content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx (1)</summary><blockquote>

`22-26`: **Minor: Grammar—hyphenate compound adjective**

Line 24: "top level data object" should be "top-level data object" to properly hyphenate the compound modifier.

</blockquote></details>
<details>
<summary>content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx (1)</summary><blockquote>

`897-899`: **Minor: Grammar—prefer "cannot" over "can not"**

Line 897: Change "you can not use" to "you cannot use" for standard English grammar.

</blockquote></details>
<details>
<summary>content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx (1)</summary><blockquote>

`157-161`: **Note on optional wording improvement.**

The static analysis tool suggests shortening line 165 from "Whenever you make changes..." to improve directness, though the current phrasing is acceptable. Consider: "Make changes to your database that are reflected in the Prisma schema to re-generate Prisma Client."

</blockquote></details>
<details>
<summary>content/200-orm/200-prisma-client/100-queries/030-crud.mdx (1)</summary><blockquote>

`263-267`: **Terminology improvement: Consider standardizing "SQL Server" naming.**

Line 265 contains the phrase `"MongoDB, SQLServer, or SQLite"`. Microsoft's official product name is "SQL Server" (two words), not "SQLServer". While this appears to be pre-existing text, standardizing it to "SQL Server" would improve accuracy and align with official documentation conventions.



This is a minor terminology refinement; if you're open to it, updating this to use the official "SQL Server" name would be a nice polish:

```diff
-Note `skipDuplicates` is not supported when using MongoDB, SQLServer, or SQLite.
+Note `skipDuplicates` is not supported when using MongoDB, SQL Server, or SQLite.
content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx (1)

276-280: EngineType “client”: nice inclusion.

The generator example for no-Rust setup is accurate and aligns with driver-adapter guidance. Consider linking to the same “no Rust engine” page referenced earlier in this doc for continuity.

content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx (1)

108-126: Nice addition of Prisma Config section. One follow-up for consistency.

Since this page now positions Prisma Config as the place for URLs, consider updating the MongoDB tab’s datasource example above to remove url = env("DATABASE_URL") (or add a note clarifying legacy vs. new configuration).

Please confirm whether MongoDB examples should also move URL config to Prisma Config on the prisma-7 branch.

content/200-orm/500-reference/050-prisma-client-reference.mdx (1)

110-110: Clarify import path assumptions vs output folder

Samples import from ../prisma/generated/client while earlier examples set output = "./generated". Both are valid depending on project layout, but mixing them in one page can confuse readers. Add a short note stating: “In this page, imports assume the client is generated to prisma/generated/client relative to project root; adjust paths to match your output.”

Also applies to: 142-142, 211-211, 250-250, 299-299, 418-418, 715-715, 851-851, 5601-5601, 5619-5619

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2671d7 and c30661f.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (107)
  • content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx (5 hunks)
  • content/200-orm/050-overview/100-introduction/300-data-modeling.mdx (1 hunks)
  • content/200-orm/050-overview/300-prisma-in-your-stack/01-rest.mdx (1 hunks)
  • content/200-orm/050-overview/300-prisma-in-your-stack/03-fullstack.mdx (1 hunks)
  • content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx (4 hunks)
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx (4 hunks)
  • content/200-orm/050-overview/500-databases/300-postgresql.mdx (3 hunks)
  • content/200-orm/050-overview/500-databases/400-mysql.mdx (2 hunks)
  • content/200-orm/050-overview/500-databases/500-sqlite.mdx (2 hunks)
  • content/200-orm/050-overview/500-databases/600-mongodb.mdx (4 hunks)
  • content/200-orm/050-overview/500-databases/800-sql-server/index.mdx (4 hunks)
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx (2 hunks)
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx (5 hunks)
  • content/200-orm/050-overview/500-databases/880-supabase.mdx (1 hunks)
  • content/200-orm/050-overview/500-databases/890-neon.mdx (2 hunks)
  • content/200-orm/050-overview/500-databases/900-turso.mdx (1 hunks)
  • content/200-orm/050-overview/600-beyond-prisma-orm.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/10-overview/index.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/10-models.mdx (10 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/100-one-to-one-relations.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/200-one-to-many-relations.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/300-many-to-many-relations.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/index.mdx (8 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdx (4 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx (5 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/40-views.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/50-database-mapping.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/60-multi-schema.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/65-externally-managed-tables.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/70-unsupported-database-features.mdx (1 hunks)
  • content/200-orm/100-prisma-schema/20-data-model/80-table-inheritance.mdx (3 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx (2 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (5 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/015-instantiate-prisma-client.mdx (2 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/100-connection-management.mdx (2 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx (5 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx (5 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/200-read-replicas.mdx (1 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx (12 hunks)
  • content/200-orm/200-prisma-client/100-queries/030-crud.mdx (5 hunks)
  • content/200-orm/200-prisma-client/100-queries/037-relation-queries.mdx (1 hunks)
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx (2 hunks)
  • content/200-orm/200-prisma-client/100-queries/056-aggregation-grouping-summarizing.mdx (2 hunks)
  • content/200-orm/200-prisma-client/100-queries/058-transactions.mdx (9 hunks)
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx (3 hunks)
  • content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx (2 hunks)
  • content/200-orm/200-prisma-client/100-queries/062-computed-fields.mdx (2 hunks)
  • content/200-orm/200-prisma-client/100-queries/064-custom-models.mdx (2 hunks)
  • content/200-orm/200-prisma-client/100-queries/070-case-sensitivity.mdx (1 hunks)
  • content/200-orm/200-prisma-client/150-using-raw-sql/100-typedsql.mdx (1 hunks)
  • content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-queries.mdx (5 hunks)
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx (2 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx (4 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx (2 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx (7 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/200-working-with-scalar-lists-arrays.mdx (4 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/300-working-with-composite-ids-and-constraints.mdx (2 hunks)
  • content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx (2 hunks)
  • content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx (2 hunks)
  • content/200-orm/200-prisma-client/300-client-extensions/120-query.mdx (2 hunks)
  • content/200-orm/200-prisma-client/300-client-extensions/130-result.mdx (1 hunks)
  • content/200-orm/200-prisma-client/300-client-extensions/index.mdx (1 hunks)
  • content/200-orm/200-prisma-client/400-type-safety/830-prisma-type-system.mdx (0 hunks)
  • content/200-orm/200-prisma-client/400-type-safety/index.mdx (1 hunks)
  • content/200-orm/200-prisma-client/450-testing/100-unit-testing.mdx (1 hunks)
  • content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx (1 hunks)
  • content/200-orm/200-prisma-client/500-deployment/201-serverless/300-deploy-to-vercel.mdx (1 hunks)
  • content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx (1 hunks)
  • content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx (8 hunks)
  • content/200-orm/200-prisma-client/500-deployment/301-edge/485-deploy-to-vercel.mdx (9 hunks)
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx (5 hunks)
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx (1 hunks)
  • content/200-orm/200-prisma-client/600-observability-and-logging/130-logging.mdx (1 hunks)
  • content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx (4 hunks)
  • content/200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx (3 hunks)
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/140-debugging.mdx (1 hunks)
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/050-getting-started.mdx (0 hunks)
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/200-shadow-database.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/10-seeding.mdx (4 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/110-native-database-types.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/120-native-database-functions.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/20-prototyping-your-schema.mdx (2 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/200-troubleshooting.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/30-baselining.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/40-customizing-migrations.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/50-squashing-migrations.mdx (3 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/60-generating-down-migrations.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/70-patching-and-hotfixing.mdx (2 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/80-unsupported-database-features.mdx (1 hunks)
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx (2 hunks)
  • content/200-orm/500-reference/050-prisma-client-reference.mdx (30 hunks)
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx (15 hunks)
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx (21 hunks)
  • content/200-orm/500-reference/250-error-reference.mdx (1 hunks)
  • content/200-orm/500-reference/300-environment-variables-reference.mdx (4 hunks)
  • content/200-orm/500-reference/325-prisma-config-reference.mdx (1 hunks)
  • content/200-orm/500-reference/380-connection-urls.mdx (0 hunks)
  • content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx (1 hunks)
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx (3 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/101-jsonprotocol-changes.mdx (1 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx (3 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx (1 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/150-referential-actions.mdx (2 hunks)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/index.mdx (2 hunks)
⛔ Files not processed due to max files limit (17)
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/900-codemods.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/index.mdx
  • content/200-orm/800-more/300-upgrade-guides/250-upgrading-to-use-preview-features.mdx
  • content/200-orm/800-more/300-upgrade-guides/800-upgrade-from-prisma-1/08-upgrade-from-mongodb-beta.mdx
  • content/200-orm/800-more/350-ai-tools/100-cursor.mdx
  • content/200-orm/800-more/350-ai-tools/200-tabnine.mdx
  • content/200-orm/800-more/350-ai-tools/300-windsurf.mdx
  • content/200-orm/800-more/350-ai-tools/400-github-copilot.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/100-autocompletion-in-graphql-resolvers-with-js.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/300-implicit-to-explicit-conversion.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/400-nextjs-help.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/500-comparing-columns-through-raw-queries.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/600-vercel-caching-issue.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/700-netlify-caching-issue.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/800-check-constraints.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx
  • content/200-orm/800-more/600-help-and-troubleshooting/950-typescript-performance-optimization.mdx
💤 Files with no reviewable changes (3)
  • content/200-orm/500-reference/380-connection-urls.mdx
  • content/200-orm/200-prisma-client/400-type-safety/830-prisma-type-system.mdx
  • content/200-orm/300-prisma-migrate/050-getting-started.mdx
🧰 Additional context used
🧠 Learnings (9)
📓 Common learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.

Applied to files:

  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/index.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/100-connection-management.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/60-generating-down-migrations.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx
  • content/200-orm/200-prisma-client/450-testing/100-unit-testing.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/index.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/200-working-with-scalar-lists-arrays.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/101-jsonprotocol-changes.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/130-logging.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/300-working-with-composite-ids-and-constraints.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/120-query.mdx
  • content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx
  • content/200-orm/200-prisma-client/100-queries/056-aggregation-grouping-summarizing.mdx
  • content/200-orm/100-prisma-schema/20-data-model/70-unsupported-database-features.mdx
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/140-debugging.mdx
  • content/200-orm/200-prisma-client/400-type-safety/index.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/150-referential-actions.mdx
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/70-patching-and-hotfixing.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/40-customizing-migrations.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/200-shadow-database.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/50-squashing-migrations.mdx
  • content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx
  • content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
  • content/200-orm/200-prisma-client/100-queries/070-case-sensitivity.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx
  • content/200-orm/100-prisma-schema/20-data-model/10-models.mdx
  • content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx
  • content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdx
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/110-native-database-types.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/100-one-to-one-relations.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/300-many-to-many-relations.mdx
  • content/200-orm/500-reference/325-prisma-config-reference.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/30-baselining.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-queries.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/120-native-database-functions.mdx
  • content/200-orm/050-overview/500-databases/880-supabase.mdx
  • content/200-orm/500-reference/250-error-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/100-typedsql.mdx
  • content/200-orm/100-prisma-schema/20-data-model/50-database-mapping.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/80-unsupported-database-features.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/130-result.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/200-troubleshooting.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx
  • content/200-orm/050-overview/500-databases/600-mongodb.mdx
  • content/200-orm/050-overview/600-beyond-prisma-orm.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx
  • content/200-orm/200-prisma-client/100-queries/058-transactions.mdx
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx
  • content/200-orm/100-prisma-schema/10-overview/index.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/10-seeding.mdx
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx
  • content/200-orm/050-overview/500-databases/300-postgresql.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
  • content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx
  • content/200-orm/500-reference/050-prisma-client-reference.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
  • content/200-orm/050-overview/500-databases/800-sql-server/index.mdx
  • content/200-orm/050-overview/500-databases/890-neon.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/485-deploy-to-vercel.mdx
  • content/200-orm/050-overview/500-databases/400-mysql.mdx
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.

Applied to files:

  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/index.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/index.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/100-connection-management.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/60-generating-down-migrations.mdx
  • content/200-orm/200-prisma-client/450-testing/100-unit-testing.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/index.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/200-working-with-scalar-lists-arrays.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/130-logging.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/200-one-to-many-relations.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/300-working-with-composite-ids-and-constraints.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/120-query.mdx
  • content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx
  • content/200-orm/200-prisma-client/100-queries/056-aggregation-grouping-summarizing.mdx
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/140-debugging.mdx
  • content/200-orm/200-prisma-client/400-type-safety/index.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/150-referential-actions.mdx
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/70-patching-and-hotfixing.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/40-customizing-migrations.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/200-shadow-database.mdx
  • content/200-orm/200-prisma-client/100-queries/062-computed-fields.mdx
  • content/200-orm/200-prisma-client/100-queries/064-custom-models.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/50-squashing-migrations.mdx
  • content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx
  • content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
  • content/200-orm/200-prisma-client/100-queries/070-case-sensitivity.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx
  • content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdx
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/110-native-database-types.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/100-one-to-one-relations.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/300-many-to-many-relations.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/index.mdx
  • content/200-orm/500-reference/325-prisma-config-reference.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/30-baselining.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-queries.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/120-native-database-functions.mdx
  • content/200-orm/050-overview/500-databases/880-supabase.mdx
  • content/200-orm/500-reference/250-error-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/100-typedsql.mdx
  • content/200-orm/100-prisma-schema/20-data-model/50-database-mapping.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/80-unsupported-database-features.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/130-result.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/200-troubleshooting.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx
  • content/200-orm/050-overview/500-databases/600-mongodb.mdx
  • content/200-orm/050-overview/600-beyond-prisma-orm.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/015-instantiate-prisma-client.mdx
  • content/200-orm/200-prisma-client/100-queries/058-transactions.mdx
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx
  • content/200-orm/050-overview/100-introduction/300-data-modeling.mdx
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx
  • content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx
  • content/200-orm/500-reference/050-prisma-client-reference.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
  • content/200-orm/050-overview/500-databases/800-sql-server/index.mdx
  • content/200-orm/050-overview/500-databases/890-neon.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/485-deploy-to-vercel.mdx
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".

Applied to files:

  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/110-client.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/index.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/100-connection-management.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx
  • content/200-orm/200-prisma-client/450-testing/100-unit-testing.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/800-upgrading-to-prisma-3/index.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/300-working-with-composite-ids-and-constraints.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/120-query.mdx
  • content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx
  • content/200-orm/200-prisma-client/400-type-safety/index.mdx
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/70-patching-and-hotfixing.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/200-shadow-database.mdx
  • content/200-orm/200-prisma-client/100-queries/070-case-sensitivity.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx
  • content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx
  • content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdx
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/110-native-database-types.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-queries.mdx
  • content/200-orm/500-reference/250-error-reference.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/80-unsupported-database-features.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/130-result.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/200-troubleshooting.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx
  • content/200-orm/050-overview/500-databases/600-mongodb.mdx
  • content/200-orm/050-overview/600-beyond-prisma-orm.mdx
  • content/200-orm/200-prisma-client/100-queries/058-transactions.mdx
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx
  • content/200-orm/050-overview/500-databases/300-postgresql.mdx
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx
  • content/200-orm/050-overview/500-databases/800-sql-server/index.mdx
  • content/200-orm/050-overview/500-databases/890-neon.mdx
  • content/200-orm/050-overview/500-databases/400-mysql.mdx
📚 Learning: 2025-10-03T19:30:57.554Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7157
File: content/800-guides/400-deno-integration.mdx:188-190
Timestamp: 2025-10-03T19:30:57.554Z
Learning: For the prisma/docs repository, do not suggest changes to code blocks when reviewing documentation pull requests.

Applied to files:

  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/700-upgrading-to-prisma-4.mdx
  • content/200-orm/200-prisma-client/450-testing/100-unit-testing.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.

Applied to files:

  • content/200-orm/100-prisma-schema/20-data-model/60-multi-schema.mdx
  • content/200-orm/100-prisma-schema/20-data-model/65-externally-managed-tables.mdx
  • content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx
  • content/200-orm/100-prisma-schema/20-data-model/70-unsupported-database-features.mdx
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx
  • content/200-orm/050-overview/500-databases/900-turso.mdx
  • content/200-orm/100-prisma-schema/20-data-model/40-views.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/90-development-and-production.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/200-shadow-database.mdx
  • content/200-orm/200-prisma-client/100-queries/062-computed-fields.mdx
  • content/200-orm/200-prisma-client/100-queries/064-custom-models.mdx
  • content/200-orm/050-overview/500-databases/500-sqlite.mdx
  • content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx
  • content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/200-orm/500-reference/300-environment-variables-reference.mdx
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/03-fullstack.mdx
  • content/200-orm/100-prisma-schema/20-data-model/10-models.mdx
  • content/200-orm/050-overview/100-introduction/100-what-is-prisma.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdx
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/01-rest.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
  • content/200-orm/500-reference/325-prisma-config-reference.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/100-queries/037-relation-queries.mdx
  • content/200-orm/050-overview/500-databases/880-supabase.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/100-typedsql.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx
  • content/200-orm/050-overview/100-introduction/300-data-modeling.mdx
  • content/200-orm/100-prisma-schema/10-overview/index.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/450-deploy-to-cloudflare.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/10-seeding.mdx
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/20-prototyping-your-schema.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/200-read-replicas.mdx
  • content/200-orm/050-overview/500-databases/300-postgresql.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx
  • content/200-orm/200-prisma-client/500-deployment/201-serverless/400-deploy-to-aws-lambda.mdx
  • content/200-orm/050-overview/500-databases/840-cockroachdb.mdx
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx
  • content/200-orm/200-prisma-client/100-queries/030-crud.mdx
  • content/200-orm/500-reference/050-prisma-client-reference.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
  • content/200-orm/050-overview/500-databases/800-sql-server/index.mdx
  • content/200-orm/050-overview/500-databases/890-neon.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/485-deploy-to-vercel.mdx
  • content/200-orm/050-overview/500-databases/400-mysql.mdx
📚 Learning: 2025-08-11T09:40:55.237Z
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.

Applied to files:

  • content/200-orm/300-prisma-migrate/300-workflows/60-generating-down-migrations.mdx
  • content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/04-is-prisma-an-orm.mdx
  • content/200-orm/100-prisma-schema/20-data-model/70-unsupported-database-features.mdx
  • content/200-orm/800-more/100-under-the-hood/100-engines.mdx
  • content/200-orm/200-prisma-client/200-special-fields-and-types/080-null-and-undefined.mdx
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx
  • content/200-orm/100-prisma-schema/20-data-model/40-views.mdx
  • content/200-orm/200-prisma-client/100-queries/062-computed-fields.mdx
  • content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx
  • content/200-orm/500-reference/500-preview-features/050-client-preview-features.mdx
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/200-orm/500-reference/300-environment-variables-reference.mdx
  • content/200-orm/050-overview/500-databases/850-planetscale.mdx
  • content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx
  • content/200-orm/050-overview/300-prisma-in-your-stack/01-rest.mdx
  • content/200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/index.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
  • content/200-orm/500-reference/100-prisma-schema-reference.mdx
  • content/200-orm/200-prisma-client/100-queries/037-relation-queries.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-queries.mdx
  • content/200-orm/500-reference/250-error-reference.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/100-typedsql.mdx
  • content/200-orm/200-prisma-client/500-deployment/301-edge/550-deploy-to-deno-deploy.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx
  • content/200-orm/200-prisma-client/150-using-raw-sql/300-safeql.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx
  • content/200-orm/050-overview/600-beyond-prisma-orm.mdx
  • content/200-orm/050-overview/500-databases/200-database-drivers.mdx
  • content/200-orm/300-prisma-migrate/200-understanding-prisma-migrate/005-overview.mdx
  • content/200-orm/200-prisma-client/100-queries/050-filtering-and-sorting.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/20-prototyping-your-schema.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx
  • content/200-orm/500-reference/200-prisma-cli-reference.mdx
  • content/200-orm/200-prisma-client/100-queries/030-crud.mdx
  • content/200-orm/500-reference/050-prisma-client-reference.mdx
  • content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx
📚 Learning: 2025-10-14T11:41:08.844Z
Learnt from: carlagn
Repo: prisma/docs PR: 7183
File: content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx:561-567
Timestamp: 2025-10-14T11:41:08.844Z
Learning: Ignore the file `content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx` in future reviews as per user request. Issues in this file were addressed in PR #7185.

Applied to files:

  • content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx
  • content/200-orm/200-prisma-client/300-client-extensions/120-query.mdx
  • content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/140-debugging.mdx
  • content/200-orm/200-prisma-client/500-deployment/550-deploy-database-changes-with-prisma-migrate.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/50-squashing-migrations.mdx
  • content/200-orm/200-prisma-client/100-queries/070-case-sensitivity.mdx
  • content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx
  • content/200-orm/050-overview/500-databases/880-supabase.mdx
  • content/200-orm/500-reference/250-error-reference.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/80-unsupported-database-features.mdx
  • content/200-orm/300-prisma-migrate/300-workflows/200-troubleshooting.mdx
📚 Learning: 2025-10-15T06:36:42.423Z
Learnt from: jy-joung-bitor
Repo: prisma/docs PR: 0
File: :0-0
Timestamp: 2025-10-15T06:36:42.423Z
Learning: The `tsc --init` command requires the `--types node` flag to properly include Node.js type definitions from `types/node` in the generated tsconfig.json, even when types/node is already installed. Without this flag, TypeScript may not automatically pick up Node.js typings.

Applied to files:

  • content/200-orm/300-prisma-migrate/300-workflows/10-seeding.mdx
🪛 LanguageTool
content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/600-upgrading-to-prisma-5/index.mdx

[style] ~63-~63: Consider a more concise word here.
Context: ...org/en/blog/announcements/nodejs16-eol) in order to coincide with the end-of-life of OpenSS...

(IN_ORDER_TO_PREMIUM)

content/200-orm/200-prisma-client/100-queries/061-custom-validation.mdx

[grammar] ~24-~24: Use a hyphen to join words.
Context: ...ple, validations are only run on the top level data object passed to methods such...

(QB_NEW_EN_HYPHEN)

content/200-orm/100-prisma-schema/20-data-model/30-indexes.mdx

[grammar] ~16-~16: Use a hyphen to join words.
Context: ... changes to index configuration and full text indexes might be **breaking changes...

(QB_NEW_EN_HYPHEN)


[grammar] ~484-~484: Use a hyphen to join words.
Context: ...rning For now we do not enable the full text search commands in Prisma Client fo...

(QB_NEW_EN_HYPHEN)

content/200-orm/500-reference/300-environment-variables-reference.mdx

[style] ~84-~84: To form a complete sentence, be sure to include a subject.
Context: ....2.0 ::: PRISMA_GENERATE_NO_ENGINE` can be set to a truthy value to generate a ...

(MISSING_IT_THERE)


[style] ~84-~84: Consider a more concise word here.
Context: ...gine](/orm/more/under-the-hood/engines) in order to reduce deployed application size when p...

(IN_ORDER_TO_PREMIUM)

content/200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/index.mdx

[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...review-feature) referentialActions. - If you use version 2.25.0 or earlier, you ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~56-~56: As an alternative to the over-used intensifier ‘extremely’, consider replacing this phrase.
Context: ...om a version earlier than 2.26.0: It is extremely important that you check the [upgrade paths for r...

(EN_WEAK_ADJECTIVE)

content/200-orm/200-prisma-client/200-special-fields-and-types/100-working-with-json-fields.mdx

[style] ~897-~897: Unless you want to emphasize “not”, use “cannot” which is more common.
Context: ...ering using any of the null enums you can not use a shorthand and leave the equals ...

(CAN_NOT_PREMIUM)

content/200-orm/200-prisma-client/000-setup-and-configuration/005-introduction.mdx

[style] ~165-~165: Consider shortening or rephrasing this to strengthen your wording.
Context: ...Evolving your application Whenever you make changes to your database that are reflected in the...

(MAKE_CHANGES)

content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx

[grammar] ~327-~327: Ensure spelling is correct
Context: ...with a composite type that has a unique restraint, note that MongoDB does not enforce uni...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~467-~467: Ensure spelling is correct
Context: ...with a composite type that has a unique restraint, note that MongoDB does not enforce uni...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~634-~634: Ensure spelling is correct
Context: ...s in a composite type that has a unique restraint, note that MongoDB does not enforce uni...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

content/200-orm/200-prisma-client/100-queries/058-transactions.mdx

[style] ~1177-~1177: As a shorter alternative for ‘able to’, consider using “can”.
Context: ...nique field. - Since version 5.0.0 you are able to [filter on non-unique fields in `update...

(BE_ABLE_TO)

content/200-orm/200-prisma-client/100-queries/030-crud.mdx

[grammar] ~265-~265: Ensure spelling is correct
Context: ...sis not supported when using MongoDB, SQLServer, or SQLite. ::: createMany()` uses a...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Check internal links
  • GitHub Check: Cloudflare Pages

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2266
✅ Successful 2238
⏳ Timeouts 0
🔀 Redirected 3
👻 Excluded 22
❓ Unknown 0
🚫 Errors 2
⛔ Unsupported 1

Errors per input

Errors in 200-orm/200-prisma-client/100-queries/055-pagination.mdx

Errors in 200-orm/800-more/600-help-and-troubleshooting/050-dataguide/02-introduction-to-data-types.mdx

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (1)

157-179: Update prose or snippet to resolve the @prisma/client import mismatch (persistent issue from past review).

The section "The @prisma/client npm package" describes how the npm package mechanism works by default—where @prisma/client re-exports .prisma/client. Line 170 states "you still import @prisma/client," but the snippet at line 173 imports from a custom output path instead.

This mismatch was flagged in a previous review and remains unresolved. Since the entire document now uses custom output paths, update the prose to clarify that when using a custom output directory, you import from that generated path rather than from the npm package directly.

Suggested fix:

- This means that you still import `@prisma/client` in your own `.ts` files:
+ When using a custom output directory, you import `PrismaClient` from that generated path:

Alternatively, if this section should document the default behavior, revert the snippet to import from @prisma/client and add a separate example showing the custom output import.

🧹 Nitpick comments (1)
content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (1)

60-60: Optional: Refine wording for stronger documentation prose.

The phrase "Feel free to customize" is casual but could be slightly more direct. Consider: "You can customize the output location to match your application structure."

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3dbf8ca and d8b25c6.

📒 Files selected for processing (2)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (5 hunks)
  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx (4 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.

Applied to files:

  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.

Applied to files:

  • content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.

Applied to files:

  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
📚 Learning: 2025-08-11T09:40:55.237Z
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.

Applied to files:

  • content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx
🪛 LanguageTool
content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx

[style] ~60-~60: Consider using a less common alternative to make your writing sound more unique and professional.
Context: .../generated" } ``` :::note Feel free to customize the output location to match ...

(FEEL_FREE_TO_STYLE_ME)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Check internal links
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (6)
content/200-orm/200-prisma-client/200-special-fields-and-types/057-composite-types.mdx (2)

10-14: MDX directive syntax conversions look good.

The admonition markup has been properly converted from HTML to MDX directive syntax (:::warning and :::info). Content is preserved, and the closing ::: delimiters are correctly placed. The prior terminology fix ("unique constraint" vs "unique restraint") is present throughout.

Also applies to: 325-329, 465-469, 632-636


33-41: Verify schema example scope in this PR.

The AI summary indicates that generator provider examples should be updated from "prisma-client-js" to "prisma-client" and datasource URLs should be removed. However, this file's schema example (lines 35 and 38–41) still shows the old pattern and isn't marked as changed. Please clarify whether the schema in this file was intentionally left unchanged, or if it should be updated to align with the broader PR objectives.

content/200-orm/200-prisma-client/000-setup-and-configuration/010-generating-prisma-client.mdx (4)

15-38: Generator config update is clear and well‑documented.

The Rust-less setup example properly shows the new provider and output configuration, and the explanation of driver adapters is helpful context.


49-56: Generator config and setup workflow are well‑structured.

The updated generator block with the new prisma-client provider and explicit output path is consistent with the PR changes and clearly guides users to define a custom output location.


98-126: Custom output path guidance is clear and consistent.

The example progression and relative path imports align well with the PR's focus on custom output directories. The ESM compatibility note adds helpful context.


128-155: Verify prisma.config.ts and env() helper are documented and available.

This section introduces a prisma.config.ts configuration pattern with an env() helper from prisma/config. This is new in the documentation—please verify that this API exists in the current Prisma version being documented and is the recommended approach for environment variable loading in this context.

[web]
Does Prisma ORM support prisma.config.ts with env() helper from prisma/config?
[/web]

@AmanVarshney01 AmanVarshney01 merged commit 8d21ba4 into prisma-7 Nov 17, 2025
3 of 6 checks passed
@AmanVarshney01 AmanVarshney01 deleted the dc-5033-docs-update-orm-docs-to-use-prisma-client-generator branch November 17, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants