-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jan Piotrowski <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,7 +233,7 @@ You can use Prisma along with the PlanetScale driver using a [driver adapter](/c | |
|
||
<Admonition> | ||
|
||
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. | ||
|
||
</Admonition> | ||
|
||
|
@@ -258,15 +258,15 @@ Ensure you update the host value in your connection string to `aws.connect.psdb. | |
DATABASE_URL='mysql://johndoe:[email protected]/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 | ||
``` | ||
|
||
> 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' | ||
|