Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
  • Loading branch information
ruheni and janpio authored Nov 2, 2023
1 parent 33d3970 commit db130be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/300-guides/050-database/850-planetscale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ npm install @prisma/adapter-planetscale @planetscale/database undici

<Admonition>

When using a Node.js version below 18, you must provide a custom fetch function implementation. We recommend the `undici` package on which Node's built-in fetch is based. Node.js versions 18 and later include a built-in global `fetch` function, so you don't have to install an extra package. See [System requirements](/reference/system-requirements)
When using a Node.js version below 18, you must provide a custom fetch function implementation. We recommend the `undici` package on which Node's built-in fetch is based. Node.js versions 18 and later include a built-in global `fetch` function, so you don't have to install an extra package.

</Admonition>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ const prisma = new PrismaClient({

### <inlinecode>adapter</inlinecode>

Defines an instance of a driver adapter. See also [Drivers](/concepts/components/drivers#driver-adapters) <span class="concept"></span>.
Defines an instance of a [driver adapter](/concepts/components/drivers#driver-adapters). See also [Drivers](/concepts/components/drivers) <span class="concept"></span>.

This is available from version 5.4.0 and newer.

This feature is currently in Preview behind the `driverAdapters` feature flag.

#### Example

The example below uses the [Neon driver adapter](/concepts/components/drivers#neon):
The example below uses the [Neon driver adapter](/guides/database/neon#how-to-use-the-neon-serverless-driver-with-prisma-preview)

```ts
import { Pool, neonConfig } from '@neondatabase/serverless'
Expand Down

0 comments on commit db130be

Please sign in to comment.