Skip to content

Commit d68abc3

Browse files
aidankmcalisterArthurGambyArthur Gambygithub-actions[bot]ankur-arch
authored
Prisma 7 merge fix (#7278)
* feat(docs): add youtube embeded link to blog post (#7220) Co-authored-by: Arthur Gamby <[email protected]> * feat(docs): add quick section to blog after the prompt (#7221) Co-authored-by: Arthur Gamby <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Aidan McAlister <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Arthur Gamby <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankur Datta <[email protected]> Co-authored-by: Petra Donka <[email protected]> Co-authored-by: Mike Hartington <[email protected]> Co-authored-by: Odysseus Zhang <[email protected]> Co-authored-by: Mike Hartington <[email protected]>
1 parent 9a1a440 commit d68abc3

File tree

21 files changed

+133
-19
lines changed

21 files changed

+133
-19
lines changed

content/100-getting-started/index.mdx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import {
2121
SignalStream,
2222
PrismaPostgres,
2323
SquareLogo,
24-
QuickstartLinkCard
24+
QuickstartLinkCard,
25+
Spacer
2526
} from '@site/src/components/GettingStarted';
2627

2728

@@ -33,7 +34,7 @@ import {
3334

3435
[**Prisma ORM**](/orm/overview/introduction/what-is-prisma) is an open-source ORM that provides fast, type-safe access to Postgres, MySQL, SQLite, and more databases, and runs smoothly across Node.js, Bun, and Deno.
3536

36-
```terminal
37+
```terminal always-copy
3738
npx prisma init --db
3839
```
3940
</BorderBox >
@@ -43,7 +44,7 @@ npx prisma init --db
4344

4445
[**Prisma Postgres**](/postgres) is a fully managed PostgreSQL database that scales to zero, integrates with Prisma ORM and Prisma Studio, and includes a generous free tier.
4546

46-
```terminal
47+
```terminal always-copy
4748
npx create-db
4849
```
4950
</BorderBox >
@@ -53,7 +54,7 @@ npx create-db
5354
<br/>
5455

5556
<QuickstartLinkCard
56-
title="Quickstart"
57+
title="Quickstart"
5758
highlight="#16A394"
5859
link="/getting-started/prisma-orm/quickstart/prisma-postgres"
5960
>
@@ -111,35 +112,35 @@ The fastest way to set Prisma ORM up with a ready-to-use database.
111112
<br/>
112113
<br/>
113114

114-
### <Plug color="#16A394" width="24" height="24" /> Using Prisma Postgres with other tools?
115+
{/* ### <Plug color="#16A394" width="24" height="24" /> Using Prisma Postgres with other tools?
115116
116117
You can also use Prisma Postgres with different tools or ORMs. Pick one of the options below to see how to connect.
117118
118119
<List>
119120
<SquareLogo
120-
url="/getting-started/prisma-postgres/quickstart/kysely"
121+
url="/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-postgresql"
121122
image={'/img/technologies/kysely.svg'}
122123
tech="Kysely"
123124
/>
124125
<SquareLogo
125-
url="/getting-started/prisma-postgres/quickstart/drizzle-orm"
126+
url="/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-mysql"
126127
image={'/img/technologies/drizzle.svg'}
127128
tech="Drizzle"
128129
/>
129-
{/* <SquareLogo
130-
url="/getting-started/prisma-postgres/quickstart/typeorm"
130+
<SquareLogo
131+
url="/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-sqlserver"
131132
image={'/img/technologies/sequelize.svg'}
132133
tech="Sequelize"
133-
/> */}
134+
/>
134135
<SquareLogo
135-
url="/getting-started/prisma-postgres/quickstart/typeorm"
136+
url="/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-planetscale"
136137
image={'/img/technologies/typeorm.svg'}
137138
tech="TypeORM"
138139
/>
139140
</List>
140141
141142
<br/>
142-
<br/>
143+
<br/> */}
143144

144145
### <Plus color="#16A394" width="24" height="24" /> Add Prisma to your favorite framework?
145146

@@ -179,3 +180,4 @@ Working with **Next.js**, **Remix**, or another framework? You can easily add Pr
179180
/>
180181
</List>
181182

183+
<Spacer size="120px" />

content/200-orm/050-overview/500-databases/800-sql-server/020-sql-server-local.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ metaTitle: 'SQL Server on Windows'
44
metaDescription: 'Set up and configure SQL Server on Windows.'
55
---
66

7+
:::info Quick summary
8+
Learn how to set up and configure Microsoft SQL Server locally on Windows for use with Prisma ORM.
9+
:::
10+
11+
712
<TopBlock>
813

914
To run a Microsoft SQL Server locally on a Windows machine:

content/200-orm/050-overview/500-databases/800-sql-server/030-sql-server-docker.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ metaTitle: 'SQL Server on Docker'
44
metaDescription: 'Download and use the Microsoft SQL Server Docker image.'
55
---
66

7+
:::info Quick summary
8+
This guide provides a quick overview on setting up and running Microsoft SQL Server in a Docker container, including pulling the image, starting the server, connecting, and creating a test database.
9+
:::
10+
11+
712
<TopBlock>
813

914
To run a Microsoft SQL Server container image with Docker:

content/200-orm/100-prisma-schema/20-data-model/20-relations/100-one-to-one-relations.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ metaDescription: How to define and work with one-to-one relations in Prisma.
44
tocDepth: 3
55
---
66

7+
:::info Quick summary
8+
Learn how to define and use one-to-one (1-1) relations in your Prisma schema, including modeling choices and key concepts.
9+
:::
10+
11+
712
<TopBlock>
813

914
This page introduces one-to-one relations and explains how to use them in your Prisma schema.

content/200-orm/100-prisma-schema/20-data-model/20-relations/300-many-to-many-relations.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metaDescription: How to define and work with many-to-many relations in Prisma.
44
tocDepth: 3
55
---
66

7+
:::info Quick summary
8+
This guide explains how to define and use many-to-many (m-n) relationships in Prisma, with examples for both relational databases and MongoDB.
9+
:::
10+
711
<TopBlock>
812

913
Many-to-many (m-n) relations refer to relations where zero or more records on one side of the relation can be connected to zero or more records on the other side.

content/200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/100-special-rules-for-referential-actions.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metaDescription: 'Circular references or multiple cascade paths can cause valida
55
tocDepth: 3
66
---
77

8+
:::info Quick summary
9+
This page explains special rules and common issues when using referential actions with SQL Server and MongoDB, including how to avoid cycles and multiple cascade paths.
10+
:::
11+
12+
813
<TopBlock>
914

1015
Some databases have specific requirements that you should consider if you are using referential actions.

content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/100-connection-management.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metaDescription: 'This page explains how database connections are handled with P
55
tocDepth: 3
66
---
77

8+
:::info Quick summary
9+
This page explains how Prisma Client manages database connections, including how and when to use the `$connect()` and `$disconnect()` methods, connection pooling behavior, and best practices for both long-running and serverless environments.
10+
:::
11+
12+
813
<TopBlock>
914

1015
`PrismaClient` connects and disconnects from your data source using the following two methods:

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ tocDepth: 4
55
toc_max_heading_level: 4
66
---
77

8+
:::info Quick summary
9+
This page explains how Prisma ORM manages database connections using a connection pool, and how you can configure limits and timeouts for optimal performance.
10+
:::
11+
12+
813
The query engine manages a **connection pool** of database connections. The pool is created when Prisma Client opens the _first_ connection to the database, which can happen in one of two ways:
914

1015
- By [explicitly calling `$connect()`](/orm/prisma-client/setup-and-configuration/databases-connections/connection-management#connect) _or_

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Configure Prisma Client with PgBouncer
33
metaTitle: Configure Prisma Client with PgBouncer
4+
metaDescription: 'Configure Prisma Client with PgBouncer and other poolers: when to use pgbouncer=true, required transaction mode, prepared statements, and Prisma Migrate workarounds.'
45
---
56

67
An external connection pooler like PgBouncer holds a connection pool to the database, and proxies incoming client connections by sitting between Prisma Client and the database. This reduces the number of processes a database has to handle at any given time.

content/200-orm/200-prisma-client/300-client-extensions/140-shared-extensions/100-permit-rbac.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ toc_max_heading_level: 4
66
---
77

88

9+
:::info Quick summary
10+
This page explains how to implement fine-grained authorization (FGA) in Prisma ORM applications using the `@permitio/permit-prisma` extension. It introduces different access control models—RBAC, ABAC, and ReBAC—supported by Permit.io, and guides you on choosing the right model to protect your database operations with precise, programmable permissions.
11+
12+
:::
13+
914

1015
Database operations often require careful control over who can access or modify which data. While Prisma ORM excels at data modeling and database access, it doesn't include built-in authorization capabilities. This guide shows how to implement fine-grained authorization in your Prisma applications using the `@permitio/permit-prisma` extension.
1116

0 commit comments

Comments
 (0)