Skip to content

Conversation

@AmanVarshney01
Copy link
Contributor

@AmanVarshney01 AmanVarshney01 commented Nov 19, 2025

Summary by CodeRabbit

  • Documentation
    • Added Bun-specific SQLite tips and complete code examples showing how to initialize the client with a Bun adapter in multiple docs
    • Enhanced getting-started and database overview pages with practical examples and placement of Bun guidance alongside existing adapter usage notes

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 19, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Adds Bun-specific documentation tips and code examples showing how to initialize Prisma Client with the @prisma/adapter-libsql (PrismaLibSql) adapter across three SQLite docs files. No runtime logic, schema, or public API changes — documentation-only additions.

Changes

Cohort / File(s) Summary
SQLite with Bun documentation
content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx, content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx, content/200-orm/050-overview/500-databases/500-sqlite.mdx
Inserts identical "Using SQLite with Bun" tip blocks and code examples that demonstrate importing PrismaLibSql from @prisma/adapter-libsql, creating the adapter with a Bun-compatible connection, and instantiating PrismaClient with that adapter. Content is illustrative only; no behavioral changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Repetitive, documentation-only changes across three files.
  • Review focus: verify code snippet accuracy (imports, adapter usage, variable names) and consistency across files.

Possibly related PRs

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 describes the main change: adding documentation callouts about using Bun with SQLite across three documentation files, with examples of the @prisma/adapter-libsql adapter.
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 fea3af6 and 2f5e435.

📒 Files selected for processing (3)
  • content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx (1 hunks)
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx (1 hunks)
  • content/200-orm/050-overview/500-databases/500-sqlite.mdx (1 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 2232
✅ Successful 2204
⏳ Timeouts 0
🔀 Redirected 3
👻 Excluded 23
❓ Unknown 0
🚫 Errors 1
⛔ Unsupported 1

Errors per input

Errors in 200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

@cloudflare-workers-and-pages
Copy link

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

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f5e435
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: 1

📜 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 3d5f8a8 and fea3af6.

📒 Files selected for processing (3)
  • content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx (1 hunks)
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx (1 hunks)
  • content/200-orm/050-overview/500-databases/500-sqlite.mdx (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 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/200-sqlite.mdx
  • content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx
  • content/200-orm/050-overview/500-databases/500-sqlite.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/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx
  • 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 internal links
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (2)
content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx (1)

178-194: LGTM! Clear and well-placed Bun guidance.

The tip effectively explains why Bun requires a different adapter and provides a complete, correct code example. Placement immediately after the standard setup is pedagogically sound, and the explanation about better-sqlite3's native driver limitations is accurate.

content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx (1)

213-229: LGTM! Consistent and explicit Bun guidance.

This mirrors the approach in the add-to-existing-project guide with a slightly more explicit explanation ("instead of @prisma/adapter-better-sqlite3"), which works well for a quickstart context where clarity about the alternative is valuable.

Comment on lines 69 to 84
:::tip Using SQLite with Bun
When running Prisma Client on Bun, use the `@prisma/adapter-libsql` driver adapter (Bun doesn't support the native SQLite driver). Instantiate the adapter and pass it to `PrismaClient`:

```ts
import { PrismaClient } from '../prisma/generated/client';
import { PrismaLibSql } from '@prisma/adapter-libsql';

const adapter = new PrismaLibSql({
url: process.env.DATABASE_URL ?? '',
});

const prisma = new PrismaClient({ adapter });

export default prisma;
```
:::
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

Clarify the import path for consistency.

The Bun tip looks good overall, but there's a subtle inconsistency that could confuse readers: the code example just above (line 61) imports from ./generated/prisma, while the new Bun tip imports from ../prisma/generated/client. These represent different project structures. Consider aligning them so readers understand they're illustrating different setups, or clarify which path applies to this database connector overview.

Consider updating line 73 to use ./generated/prisma to match the prior example, or add a brief note explaining why the paths differ:

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

Alternatively, if the different path is intentional to show different project structures, a comment explaining this would help readers.


</script>

🏁 Script executed:

#!/bin/bash
# Retrieve the SQLite documentation file and examine the import paths around lines 61 and 73
cat content/200-orm/050-overview/500-databases/500-sqlite.mdx | head -90 | tail -40

Length of output: 1394


🏁 Script executed:

#!/bin/bash
# Get line numbers and context around the imports
sed -n '55,90p' content/200-orm/050-overview/500-databases/500-sqlite.mdx | cat -n

Length of output: 1586


🏁 Script executed:

#!/bin/bash
# Check if the file exists and get total line count
wc -l content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 61


🏁 Script executed:

#!/bin/bash
# Extract the exact lines 61 and 73 with context
echo "=== Around line 61 ===" && sed -n '58,65p' content/200-orm/050-overview/500-databases/500-sqlite.mdx
echo -e "\n=== Around line 73 ===" && sed -n '70,77p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 632


🏁 Script executed:

#!/bin/bash
# Search for all PrismaClient imports in the file to see the pattern
grep -n "from.*prisma" content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 617


🏁 Script executed:

#!/bin/bash
# Get more context around the Bun section to understand the structure
sed -n '65,85p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 547


🏁 Script executed:

#!/bin/bash
# Look for the entire file structure to understand sections
grep -n "^##\|^:::" content/200-orm/050-overview/500-databases/500-sqlite.mdx | head -20

Length of output: 508


🏁 Script executed:

#!/bin/bash
# Get the full context of both code examples
sed -n '50,90p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 1395


🏁 Script executed:

#!/bin/bash
# Verify the exact import statements with full context
rg -n "from.*generated.*prisma" content/200-orm/050-overview/500-databases/500-sqlite.mdx -C 3

Length of output: 446


🏁 Script executed:

#!/bin/bash
# Get the raw content to understand the structure precisely
head -90 content/200-orm/050-overview/500-databases/500-sqlite.mdx | tail -35

Length of output: 1276


🏁 Script executed:

#!/bin/bash
# Look for the Bun tip section specifically
sed -n '66,90p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 935


🏁 Script executed:

#!/bin/bash
# Extract lines 69-84 exactly as flagged in the review
sed -n '69,84p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 493


🏁 Script executed:

#!/bin/bash
# Get broader context: lines 55-85
sed -n '55,85p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 943


🏁 Script executed:

#!/bin/bash
# Look for "generated/prisma" pattern throughout the file
rg -n "generated.prisma|generated/client" content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 169


🏁 Script executed:

#!/bin/bash
# Find and display the immediate context before the Bun tip
sed -n '54,72p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 671


🏁 Script executed:

#!/bin/bash
# Comprehensive view of lines 50-90
awk 'NR>=50 && NR<=90' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 1395


🏁 Script executed:

#!/bin/bash
# Exactly what's in the snippet provided in the review
awk 'NR>=60 && NR<=85' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 741


🏁 Script executed:

#!/bin/bash
# Direct extract to validate the claim
sed -n '60,75p' content/200-orm/050-overview/500-databases/500-sqlite.mdx

Length of output: 583


🏁 Script executed:

#!/bin/bash
# Show all import statements in order
grep -n "^import " content/200-orm/050-overview/500-databases/500-sqlite.mdx | head -30

Length of output: 421


🏁 Script executed:

#!/bin/bash
# Check the file more carefully
sed -n '1,90p' content/200-orm/050-overview/500-databases/500-sqlite.mdx | tail -35

Length of output: 1276


🏁 Script executed:

#!/bin/bash
# Simple view
awk 'NR<=90' content/200-orm/050-overview/500-databases/500-sqlite.mdx | awk 'NR>=55'

Length of output: 1334


🏁 Script executed:

#!/bin/bash
# Final attempt - get file and look at it
head -85 content/200-orm/050-overview/500-databases/500-sqlite.mdx | tail -30

Length of output: 885


🏁 Script executed:

#!/bin/bash
# Check if file exists first
ls -la content/200-orm/050-overview/500-databases/500-sqlite.mdx 2>&1 || echo "File not found"
fd "500-sqlite" 2>/dev/null || find . -name "*sqlite*" -type f 2>/dev/null | head -10

Length of output: 164


🏁 Script executed:

#!/bin/bash
# Search for any sqlite related markdown files
find . -name "*sqlite*" -type f

Length of output: 257


🏁 Script executed:

#!/bin/bash
# Broader search
fd sqlite

Length of output: 249


🏁 Script executed:

#!/bin/bash
# Look in content directory
ls -la content/200-orm/050-overview/500-databases/ 2>&1 || ls -la content/ 2>&1 | head -20

Length of output: 1264


🏁 Script executed:

#!/bin/bash
# Try to find the file
rg -l sqlite content/ 2>/dev/null | head -5

Length of output: 257


🏁 Script executed:

#!/bin/bash
# Check directory structure
find content -type d | head -20

Length of output: 896


🏁 Script executed:

#!/bin/bash
# List markdown files in the expected location
find content -name "*.mdx" -o -name "*.md" 2>/dev/null | grep -i sqlite

Length of output: 214


🏁 Script executed:

#!/bin/bash
# General content directory listing
find content -maxdepth 4 -type f 2>/dev/null | grep 500-sqlite

Length of output: 57


🏁 Script executed:

#!/bin/bash
# Try a simpler approach
ls content/200-orm/050-overview/500-databases/ 2>&1 || echo "Path does not exist"
ls -la . | head -20

Length of output: 1515


🏁 Script executed:

#!/bin/bash
# Root directory check
pwd && ls -la | head -20

Length of output: 1234


🏁 Script executed:

#!/bin/bash
# Determine if this is a cloned repo and what's available
git status 2>&1 | head -5 || echo "Not a git repo"
find . -name "*.mdx" | head -10

Length of output: 865


🏁 Script executed:

#!/bin/bash
# Find any reference to sqlite in the codebase
rg -l "SQLite" . 2>/dev/null | head -5

Length of output: 268


🏁 Script executed:

#!/bin/bash
# Try to locate the specific file more directly
find . -path "*200-orm*" -name "*.mdx" 2>/dev/null

Length of output: 19476


🏁 Script executed:

#!/bin/bash
# Check if we're in the right directory
ls -la

Length of output: 1591


🏁 Script executed:

#!/bin/bash
# Final comprehensive check
find . -type f -name "*.mdx" 2>/dev/null | head -20

Length of output: 1623


🏁 Script executed:

#!/bin/bash
# Search for import statements with prisma/generated
rg "PrismaClient.*from.*generated" 2>/dev/null

Length of output: 24079


🏁 Script executed:

#!/bin/bash
# Look for the exact strings mentioned in the review
rg "\./generated/prisma|../prisma/generated/client" 2>/dev/null

Length of output: 38292


🏁 Script executed:

#!/bin/bash
# Try to see what repositories or files we can access
find . -maxdepth 3 -type f 2>/dev/null | head -30

Length of output: 762


🏁 Script executed:

#!/bin/bash
# Last attempt - direct file access
cat content/200-orm/050-overview/500-databases/500-sqlite.mdx 2>&1 | head -100

Length of output: 4054


Clarify the import paths between the driver adapter examples.

The inconsistency is real. Line 61's better-sqlite3 example imports from ./generated/prisma, but line 73's Bun tip imports from ../prisma/generated/client. While these may represent different project structures, adjacent code examples with divergent paths create confusion for readers trying to adapt the code to their own setup.

This is a valid minor issue worth resolving. Recommend either:

  1. Align the paths if both examples should follow the same default Prisma output convention (../generated/prisma), or
  2. Add a clarifying note above one or both examples explaining that the import path depends on where Prisma generates the client in your project structure.

The suggested fix to change line 73 to ./generated/prisma is reasonable if both examples target the same output location—verify that the Bun adapter example is intended to use the same project layout as the better-sqlite3 example before applying.

🤖 Prompt for AI Agents
In content/200-orm/050-overview/500-databases/500-sqlite.mdx around lines 69–84,
the Bun adapter example imports the Prisma client from
../prisma/generated/client while the better-sqlite3 example uses
./generated/prisma, causing confusion; update the Bun example to use the same
import path as the adjacent example (./generated/prisma) or add a brief note
above the examples stating that the import path varies by project layout and
should be adjusted to where the Prisma client is generated in the reader’s
project.

```

:::tip Using SQLite with Bun
When targeting Bun, use the `@prisma/adapter-libsql` adapter instead of `@prisma/adapter-better-sqlite3` (Bun doesn’t support the native SQLite driver that `better-sqlite3` relies on). Instantiate Prisma Client like so:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When targeting Bun, use the `@prisma/adapter-libsql` adapter instead of `@prisma/adapter-better-sqlite3` (Bun doesn’t support the native SQLite driver that `better-sqlite3` relies on). Instantiate Prisma Client like so:
When running Prisma ORM on Bun, use the `@prisma/adapter-libsql` adapter instead of `@prisma/adapter-better-sqlite3`. Bun does not support the native SQLite driver required by `better-sqlite3`. Instantiate Prisma Client as follows:

@AmanVarshney01 also link to existing issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ill just link to their site

https://bun.com/reference/node/sqlite

@AmanVarshney01 AmanVarshney01 merged commit 9212a24 into prisma-7 Nov 19, 2025
3 of 6 checks passed
@AmanVarshney01 AmanVarshney01 deleted the add-callout-for-bun-sqlite branch November 19, 2025 11:33
@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 2235
✅ Successful 2204
⏳ Timeouts 0
🔀 Redirected 4
👻 Excluded 23
❓ Unknown 0
🚫 Errors 3
⛔ Unsupported 1

Errors per input

Errors in 200-orm/050-overview/500-databases/840-cockroachdb.mdx

Errors in 200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

mhessdev pushed a commit that referenced this pull request Nov 19, 2025
* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* (feat) Removes Accelerate specific instructions for Prisma Postgres (#7268)

* (feat) Removes Accelerate specific instructions for Prisma Postgres

* feat: update Deno integration guide to include additional development dependencies

* Update Cloudflare D1 Guides (#7273)

* feat: update serverless driver docs (#7272)

* feat: update serverless driver docs

* feat: add connection pool defaults

* feat: add query caching steps for prisma postgres

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx

* Update content/200-orm/050-overview/500-databases/200-database-drivers.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* docs(): add v7 migration guide (#7249)

* docs(): add v7 migration guide

* docs(): update based on feedback

* Update content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(): update based on feedback

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update turso guide (#7274)

* (feat) Explicitly running prisma generate after migrate dev command and import updates (#7276)

* Update nuxt guides (#7275)

* update nuxt guide

* update

* broken link fix

* broken link fixed

* fix: add SQLite notes (#7277)

* fix: add SQLite notes

* fix: update serverless driver doc

* feat: add callout

* Prisma 7 merge fix (#7278)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clear redirect loop (#7250)

* Fix typo in environment variables reference (#7193)

* Fix typo in environment variables reference

* remove duplicate can be

---------

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* chore(): add summary sections to top pages (#7228)

* DC-6234 Getting Started Page Updates (#7254)

* arrow added

* quickstart card hover

* always copy button added

* hover effect on copy button

* spcaer added

* pointless css removed

* updaets

* fuctional

* revewrt

* fixed for mobile

* link fix

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>

* spell check words added

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* `pgcrypto` added to spellcheck

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* docs(): add note about vscode version pinning (#7279)

* docs(): add note about vscode version pinning

* Optimised images with calibre/image-actions

* Update content/250-postgres/350-integrations/500-vscode.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(postgres): remove accelerate reference (#7246)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* docs(postgres): remove accelerate reference
Remove reference to accelerate and rework the docs to account for the new v7 changes

* Optimised images with calibre/image-actions

* docs(): update with feedback

* Optimised images with calibre/image-actions

* docs(ppg): updates

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>

* docs(metrics): remove metrics API (#7248)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* docs(metrics): remove metrics API

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* Restore content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

* docs(): update based on feedback

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix build errors

* fix

* Add callout for bun and sqlite (#7280)

* Add caalout for bun and sqlite

* add link to bun docs

* fix: get started path url (#7281)

* fix: clarify studio better (#7282)

* feat: add connection pooling gif (#7284)

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
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.

3 participants