Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ruheni committed Oct 30, 2023
1 parent 3eaee78 commit dcbcbe2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions content/200-concepts/100-components/drivers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tocDepth: 3

## Built-in drivers (default)

One of Prisma Client's component's is the [Query Engine](./prisma-engines/query-engine) <span class="concept"></span>. The Query Engine transforms Prisma Client queries to SQL statements that are executed using the included database driver. The Query Engine also includes built-in database drivers that don't require any additional effort to set up. The database drivers use TCP connections to connect to the database.
One of Prisma Client's component's is the [Query Engine](./prisma-engines/query-engine) <span class="concept"></span>. The Query Engine is responsible for transforming Prisma Client queries to SQL statements. The Query Engine connects to your database using the included drivers that don't require additional setup. The built-in drivers use TCP connections to connect to the database.

![Query flow from the user application to the database with Prisma Client](./images/drivers/qe-query-execution-flow.png)

Expand Down Expand Up @@ -47,7 +47,7 @@ To use this feature:

### 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.
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 and PlanetScale.

#### Neon Serverless Driver

Expand Down Expand Up @@ -104,6 +104,10 @@ const prisma = new PrismaClient({ adapter })

We would appreciate your feedback on the PlanetScale serverless driver adapter. Let us know what you think by leaving a comment in [this GitHub issue](https://github.com/prisma/prisma/discussions/21347).

### Database drivers

{/* * TODO: intro note here */}

#### Turso

Install the Prisma adapter for LibSQL and LibSQL packages:
Expand Down

0 comments on commit dcbcbe2

Please sign in to comment.