Skip to content

Commit

Permalink
chore: add context to serverless and database driver adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
ruheni committed Nov 7, 2023
1 parent da7e954 commit a0e44d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/200-concepts/100-components/database-drivers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@ Prisma Client can connect and run queries against your database using JavaScript

Prisma will use the Query Engine to transform the Prisma Client query to SQL and run the generated SQL queries via the JavaScript database driver.

![Query flow from the user application to the database using Prisma Client and driver adapters](./images//drivers/qe-query-engine-adapter.png)
![Query flow from the user application to the database using Prisma Client and driver adapters](./images/drivers/qe-query-engine-adapter.png)

### Serverless driver adapters

Serverless driver adapters allow you to connect to your database using other protocols, such as HTTP and WebSockets. Prisma maintains the following serverless driver adapters:

- [Neon](/guides/database/neon#how-to-use-the-neon-serverless-driver-with-prisma-preview)
- [PlanetScale](/guides/database/planetscale#how-to-use-the-planetscale-serverless-driver-with-prisma-preview)

### Database driver adapters

Database driver adapters enable you to connect to your database using the default protocol that a database provider offers. For example, Turso only supports HTTP connections.

Prisma maintains the following database driver adapters:

- [Turso](/guides/database/turso#connect-and-query-your-primary-database)

## Community maintained database driver adapters
Expand Down

0 comments on commit a0e44d0

Please sign in to comment.