Skip to content

Conversation

@ankur-arch
Copy link
Contributor

@ankur-arch ankur-arch commented Nov 27, 2025

Summary by CodeRabbit

  • Documentation
    • Updated SQL Server adapter documentation to reflect the new naming convention for the MSSQL adapter class.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions
Copy link
Contributor

Dangerous URL check

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 27, 2025

Walkthrough

This PR updates documentation across four files to reflect a naming change in the Prisma MSSQL adapter. The class name PrismaMSSQL is updated to PrismaMssql in all import statements and constructor calls.

Changes

Cohort / File(s) Summary
Getting Started Guides
content/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx, content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.mdx, content/100-getting-started/_components/_create-prisma-client.mdx
Updated MSSQL adapter import and instantiation from PrismaMSSQL to PrismaMssql in code examples
ORM Configuration Documentation
content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
Updated MSSQL adapter references from PrismaMSSQL to PrismaMssql across multiple code blocks

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

This PR applies a consistent, homogeneous naming update across documentation files. All changes follow the identical pattern with no logic modifications—simply reflecting an upstream API class name change in code examples.

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: correcting the naming convention of the MSSQL adapter from PrismaMSSQL to PrismaMssql across multiple documentation files.
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 c7c7620 and 864b159.

📒 Files selected for processing (4)
  • content/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx (2 hunks)
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.mdx (2 hunks)
  • content/100-getting-started/_components/_create-prisma-client.mdx (2 hunks)
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx (4 hunks)
🧰 Additional context used
🧠 Learnings (7)
📓 Common learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7301
File: content/800-guides/410-cloudflare-workers.mdx:87-107
Timestamp: 2025-11-20T21:00:02.587Z
Learning: Do not suggest changes to `prisma.config.ts` files in the prisma/docs repository, as the code examples are intentional for documentation purposes.
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".
📚 Learning: 2025-11-20T21:00:02.587Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7301
File: content/800-guides/410-cloudflare-workers.mdx:87-107
Timestamp: 2025-11-20T21:00:02.587Z
Learning: Do not suggest changes to `prisma.config.ts` files in the prisma/docs repository, as the code examples are intentional for documentation purposes.

Applied to files:

  • content/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/100-getting-started/_components/_create-prisma-client.mdx
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.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/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.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/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx
  • content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.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/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx
  • content/100-getting-started/_components/_create-prisma-client.mdx
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.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/300-no-rust-engine.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: 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/000-setup-and-configuration/300-no-rust-engine.mdx
⏰ 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 (5)
content/100-getting-started/02-prisma-orm/200-add-to-existing-project/500-sql-server.mdx (1)

156-156: Naming fix is correct and consistent.

The adapter class name has been properly updated from PrismaMSSQL to PrismaMssql in both the import statement and constructor call, aligning with Prisma's naming conventions for adapter classes (camelCase with lowercase sql).

Also applies to: 175-175

content/100-getting-started/02-prisma-orm/100-quickstart/500-sql-server.mdx (1)

198-198: Adapter naming updated consistently.

The PrismaMssql class name is correctly used in both the import and instantiation, maintaining consistency with the other SQL Server documentation files in this PR.

Also applies to: 217-217

content/200-orm/200-prisma-client/000-setup-and-configuration/300-no-rust-engine.mdx (2)

166-166: MSSQL adapter naming fixed in GA section.

The class name has been properly updated to PrismaMssql in the current GA version examples.

Also applies to: 185-185


403-403: MSSQL adapter naming fixed in preview section.

The class name has been properly updated to PrismaMssql in the legacy preview version examples, maintaining consistency across all Prisma version documentation.

Also applies to: 422-422

content/100-getting-started/_components/_create-prisma-client.mdx (1)

88-88: Reusable component updated with correct adapter naming.

The SQL Server section of this shared component now correctly uses PrismaMssql. This fix propagates to all documentation files that import and render this component, ensuring consistency across the entire docs site.

Also applies to: 106-106


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

@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.

@cloudflare-workers-and-pages
Copy link

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 864b159
Status: ✅  Deploy successful!
Preview URL: https://d97c1fbb.docs-51g.pages.dev
Branch Preview URL: https://dc-6381.docs-51g.pages.dev

View logs

@ankur-arch ankur-arch merged commit 96ca695 into main Nov 27, 2025
8 checks passed
@ankur-arch ankur-arch deleted the DC-6381 branch November 27, 2025 09:03
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.

1 participant