Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Dec 7, 2023
1 parent f7c5fab commit ec072c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

Prisma driver adapter for [TiDB Cloud Serverless Driver](https://github.com/tidbcloud/serverless-js).

## Choose a version

| Adapter | Prisma/Prisma Client | serverless driver |
|---------|----------------------|-------------------|
| v5.4.x | ~v5.4.0 | ^0.0.6 |
| v5.5.x | ~v5.5.0 | ^0.0.7 |
| v5.6.x | ~v5.6.0 | ^0.0.7 |
| v5.7.x | ~v5.7.0 | ^0.0.7 |

Here is the step to step guide for how to choose the version:
1. Choose the Prisma version: Choose the one as you need.
2. Choose the adapter version: If you are using Prisma vx.y.z, you should choose the same version of adapter. If there is no adapter version for your Prisma version, you can choose the latest adapter version in vx.y. Open an issue once you find the adapter version is not compatible with Prisma version.
3. Choose the serverless driver version: You can always use the latest version according to the table above.

## Before you start

Before you start, make sure you have:
Expand Down

0 comments on commit ec072c7

Please sign in to comment.