Skip to content

docs(docs): the mariadb package writes MySQL values into the statement - #8672

Merged
wmadden-electric merged 1 commit into
mainfrom
docs/mysql-values-not-prepared
Oct 30, 2026
Merged

wmadden-electric merged 1 commit into
mainfrom
docs/mysql-values-not-prepared

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

The supported-databases page said every MySQL value "is sent as a prepared-statement parameter". That stopped being true in Prisma ORM 8.0.0-rc.22, which includes prisma/orm#30918: the MySQL driver now hands each statement to the mariadb package, which writes the values into the statement with its own escaping, in one round trip. Prisma's own code still never puts a value into SQL.

This corrects the one sentence. The same correction is in the ORM's rc.22 release notes in prisma/orm#30924.

Agent: paddington-54

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that MySQL early-preview support uses the MariaDB package’s own escaping when inserting values into statements, rather than sending every value as a prepared-statement parameter.
    • The documented MySQL restrictions, migration support, and failure behavior remain unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@vercel

vercel Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blog Ready Ready Preview Oct 30, 2026 3:50pm UTC
docs Ready Ready Preview Oct 30, 2026 3:50pm UTC
eclipse Ready Ready Preview Oct 30, 2026 3:50pm UTC
site Ready Ready Preview Oct 30, 2026 3:50pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
handbook Skipped Skipped Oct 30, 2026 3:50pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3e6c6c18-b293-4017-b80d-13c6dabab2c5
Commits

Reviewing files that changed from the base of the PR and between cc0a8fe and 0471963.

Files selected for processing: 1
  • apps/docs/content/docs/orm/supported-databases.mdx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Walkthrough

The MySQL early-preview documentation now describes how the mariadb package handles values in SQL statements. The listed restrictions and support details remain unchanged.

Changes

MySQL preview documentation

Layer / File(s) Summary
Clarify value handling
apps/docs/content/docs/orm/supported-databases.mdx
The description now says mariadb writes values into statements using its own escaping, and Prisma code does not put values into SQL.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: gregory-boch-prisma

Merge Risk: Minimal · up to 04719

The wording clarifies that mariadb escapes values while Prisma does not interpolate them. No actionable merge-blocking risk is identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the documented change: the mariadb package writes MySQL values into the SQL statement using its own escaping.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

36 links: ✅ 3 OK | 🚫 0 errors | 🔀 0 redirects | 👻 33 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 3
🔀 Redirected 0
👻 Excluded 33
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@wmadden-electric
wmadden-electric merged commit b171083 into main Oct 30, 2026
35 checks passed
@wmadden-electric
wmadden-electric deleted the docs/mysql-values-not-prepared branch October 30, 2026 19:21

This branch was successfully deployed

5 active and 1 inactive deployments
Preview – docs — 04719633 Deployed Oct 30, 2026 by vercel[bot]
Preview – site — 04719633 Deployed Oct 30, 2026 by vercel[bot]
Preview – blog — 04719633 Deployed Oct 30, 2026 by vercel[bot]
Preview – eclipse — 04719633 Deployed Oct 30, 2026 by vercel[bot]
Preview – handbook — 04719633 Deployed Oct 30, 2026 by vercel[bot]
prisma-preview/docs/mysql-values-not-prepared — 04719633 Deployed Oct 30, 2026 by wmadden via deploy #612
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