From a0e44d03b081a20ec0a4aca996dccd79017b75f1 Mon Sep 17 00:00:00 2001 From: ruheni Date: Tue, 7 Nov 2023 16:45:23 +0100 Subject: [PATCH] chore: add context to serverless and database driver adapters --- content/200-concepts/100-components/database-drivers.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/200-concepts/100-components/database-drivers.mdx b/content/200-concepts/100-components/database-drivers.mdx index 7c5a3c6c22..c082856e10 100644 --- a/content/200-concepts/100-components/database-drivers.mdx +++ b/content/200-concepts/100-components/database-drivers.mdx @@ -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