Skip to content

Commit e25a5a7

Browse files
authored
chore(): add summary sections to top pages (#7228)
1 parent 9facfff commit e25a5a7

File tree

15 files changed

+65
-0
lines changed

15 files changed

+65
-0
lines changed

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

content/200-orm/200-prisma-client/300-client-extensions/500-middleware/100-soft-delete-middleware.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ metaDescription: 'How to use middleware to intercept deletes and set a field val
55
toc_max_heading_level: 4
66
---
77

8+
:::info Quick summary
9+
Learn how to use Prisma Client middleware to implement a simple soft delete, marking records as deleted instead of removing them from your database.
10+
:::
11+
12+
813
<TopBlock>
914

1015
The following sample uses [middleware](/orm/prisma-client/client-extensions/middleware) to perform a **soft delete**. Soft delete means that a record is **marked as deleted** by changing a field like `deleted` to `true` rather than actually being removed from the database. Reasons to use a soft delete include:

0 commit comments

Comments
 (0)