diff --git a/content/200-concepts/100-components/drivers.mdx b/content/200-concepts/100-components/drivers.mdx index b29fcd2785..aef806adf1 100644 --- a/content/200-concepts/100-components/drivers.mdx +++ b/content/200-concepts/100-components/drivers.mdx @@ -33,7 +33,7 @@ To use this feature: npx prisma generate ``` -## Serverless drivers +### Serverless drivers By default, JavaScript database drivers use TCP connections. Several database providers enable use of different protocols, such as HTTP and WebSocket, to connect to your database. Example database providers include Neon, PlanetScale and Turso. @@ -47,9 +47,9 @@ The following is a list of community maintained driver adapters: - [TiDB](https://github.com/tidbcloud/prisma-adapter) -### Neon +#### Neon Serverless Driver -Install the Prisma adapter for Neon, Neon serverless driver and ws packages: +Install the Prisma adapter for Neon, Neon serverless driver and `ws` packages: ```sh npm install @prisma/adapter-neon @neondatabase/serverless ws @@ -75,7 +75,7 @@ const prisma = new PrismaClient({ adapter }) -### PlanetScale +#### PlanetScale Serverless Driver Install the Prisma adapter for PlanetScale, PlanetScale serverless driver and undici packages: @@ -102,7 +102,7 @@ const prisma = new PrismaClient({ adapter }) -### Turso +#### Turso Install the Prisma adapter for LibSQL and LibSQL packages: diff --git a/content/300-guides/050-database/850-planetscale.mdx b/content/300-guides/050-database/850-planetscale.mdx index 5ba76b7cc9..df55ad1aed 100644 --- a/content/300-guides/050-database/850-planetscale.mdx +++ b/content/300-guides/050-database/850-planetscale.mdx @@ -233,7 +233,7 @@ You can use Prisma along with the PlanetScale driver using a [driver adapter](/c -This feature is available from Prisma versions 5.4.2 and later. +This feature is available in Preview from Prisma versions 5.4.2 and later. @@ -258,7 +258,7 @@ Ensure you update the host value in your connection string to `aws.connect.psdb. DATABASE_URL='mysql://johndoe:strongpassword@aws.connect.psdb.cloud/clear_nightsky?sslaccept=strict' ``` -Install the Prisma adapter for PlanetScale, PlanetScale serverless driver and undici packages: +Install the Prisma adapter for PlanetScale, PlanetScale serverless driver and `undici` packages: ```sh npm install @prisma/adapter-planetscale @planetscale/database undici @@ -266,7 +266,7 @@ npm install @prisma/adapter-planetscale @planetscale/database undici > Prisma ORM supports Node.js 16.13 and up. In Node.js 18 and up, `undici` is not needed. See [System requirements](/reference/system-requirements) -Update your Prisma Client instance to use the PlanetScale database driver: +Update your Prisma Client instance to use the PlanetScale serverless driver: ```ts import { connect } from '@planetscale/database'