-
Notifications
You must be signed in to change notification settings - Fork 870
DR-6767 SQLite 3.51.1 bug warning #7428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
WalkthroughAdded a warning to the SQLite docs noting a nested EXISTS query bug in SQLite 3.51.0+ affecting the better-sqlite3 adapter, with mitigation options (upgrade adapter to v7.3.0+, use libsql adapter, or await an upstream patched SQLite release). Surrounding content unchanged. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2026-01-06T22:06:57.725ZApplied to files:
⏰ 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)
🔇 Additional comments (1)
Comment |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
Deploying docs with
|
| Latest commit: |
35c06a5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4dce469e.docs-51g.pages.dev |
| Branch Preview URL: | https://dr-6767-sqlite-bug-warning.docs-51g.pages.dev |
🍈 Lychee Link Check Report
📊 Results Overview
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @content/200-orm/050-overview/500-databases/500-sqlite.mdx:
- Around line 45-59: Update the warning block to state that SQLite 3.51.1
(released Nov 28, 2025) fixes the nested EXISTS bug and that the issue is
resolved upstream; correct the affected better-sqlite3 range to "better-sqlite3
12.4.2 and later" (instead of "newer than 12.4.1") and explicitly note that
12.4.1 (which contains SQLite 3.50.4) is unaffected; adjust the Workarounds list
to recommend downgrading to 12.4.1, switching to libsql via
@prisma/adapter-libsql, or upgrading to a future better-sqlite3 release that
bundles SQLite 3.51.1+.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/200-orm/050-overview/500-databases/500-sqlite.mdx
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-01-06T22:06:57.725Z
Learnt from: newclarityex
Repo: prisma/docs PR: 7425
File: content/200-orm/050-overview/500-databases/400-mysql.mdx:80-80
Timestamp: 2026-01-06T22:06:57.725Z
Learning: In Prisma docs, when showing examples of instantiating driver adapters with connection strings from environment variables, use the template literal pattern `const connectionString = `${process.env.DATABASE_URL}`` for consistency across all database adapter examples (PostgreSQL, MySQL/MariaDB, etc.).
Applied to files:
content/200-orm/050-overview/500-databases/500-sqlite.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 links
- GitHub Check: Check internal links
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.