支持的数据库
Prisma ORM 目前支持以下数据库。
¥Prisma ORM currently supports the following databases.
也可以看看:系统要求。
¥See also: System requirements.
星号 (*) 表示版本号不相关;要么所有版本都支持,没有公开版本号等。
¥An asterisk (*) indicates that the version number is not relevant; either all versions are supported, there is not a public version number, etc.
自托管数据库
¥Self-hosted databases
数据库 | 版本 |
---|---|
CockroachDB | 21.2.4+ |
玛丽亚数据库 | 10.0+ |
玛丽亚数据库 | 11.0+ |
微软 SQL 服务器 | 2017 |
微软 SQL 服务器 | 2019 |
微软 SQL 服务器 | 2022 |
MongoDB | 4.2+ |
MySQL | 5.6 |
MySQL | 5.7 |
MySQL | 8.0 |
MySQL | 8.4 |
PostgreSQL | 9.6 |
PostgreSQL | 10 |
PostgreSQL | 11 |
PostgreSQL | 12 |
PostgreSQL | 13 |
PostgreSQL | 14 |
PostgreSQL | 15 |
PostgreSQL | 16 |
PostgreSQL | 17 |
SQLite | * |
请注意,每个 Prisma ORM 版本都附带 SQLite 的固定版本。
¥Note that a fixed version of SQLite is shipped with every Prisma ORM release.
托管数据库
¥Managed databases
数据库 | 版本 |
---|---|
AWS 极光 | * |
AWS Aurora 无服务器 1 | * |
Azure SQL | * |
CockroachDB 即服务 | * |
MongoDB 阿特拉斯 | * |
Neon 无服务器 Postgres | * |
PlanetScale | * |
Cloudflare D1(预览版) | * |
Aiven(MySQL 和 Postgres) | * |
¹ 这不包括对 Aurora Serverless 的数据 API 的支持。 |