Skip to content

feat(docs): add clarification on database upsert criteria#7686

Merged
aidankmcalister merged 1 commit intoprisma:mainfrom
flxwu:main
Apr 1, 2026
Merged

feat(docs): add clarification on database upsert criteria#7686
aidankmcalister merged 1 commit intoprisma:mainfrom
flxwu:main

Conversation

@flxwu
Copy link
Copy Markdown
Contributor

@flxwu flxwu commented Mar 21, 2026

See prisma/prisma#20229

Summary by CodeRabbit

  • Documentation
    • Updated Prisma Client reference documentation to clarify the criteria for upsert query handling.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 21, 2026

@flxwu is attempting to deploy a commit to the Prisma Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b70d15cf-0a68-4a55-a587-6d771df0540d

📥 Commits

Reviewing files that changed from the base of the PR and between 1a02c1b and 6ea9c35.

📒 Files selected for processing (1)
  • apps/docs/content/docs.v6/orm/reference/prisma-client-reference.mdx

Walkthrough

Documentation update to Prisma Client reference specifying an additional prerequisite for upsert queries delegated to the database: the update clause must be non-empty. Single line addition clarifying query handling behavior.

Changes

Cohort / File(s) Summary
Prisma Client Documentation
apps/docs/content/docs.v6/orm/reference/prisma-client-reference.mdx
Added criterion documenting that the upsert update clause must be non-empty for Prisma Client to hand the query to the database.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ 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 and specifically describes the main change: adding documentation clarification about database upsert criteria, which aligns with the single-file modification to the Prisma Client reference documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

Tip

CodeRabbit can suggest fixes for GitHub Check annotations.

Configure the reviews.tools.github-checks setting to adjust the time to wait for GitHub Checks to complete.

@aidankmcalister aidankmcalister merged commit b77cd06 into prisma:main Apr 1, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants