入门
Prisma ORM 是一个开源 ORM,它提供对 Postgres、MySQL、SQLite 等数据库的快速、类型安全的访问,并且可以在 Node.js、Bun 和 Deno 上流畅运行。
¥Prisma ORM is an open-source ORM that provides fast, type-safe access to Postgres, MySQL, SQLite, and more databases, and runs smoothly across Node.js, Bun, and Deno.
npx prisma init --db
Prisma Postgres 是一个完全托管的 PostgreSQL 数据库,可缩减至零,与 Prisma ORM 和 Prisma Studio 集成,并提供慷慨的免费套餐。
¥Prisma Postgres is a fully managed PostgreSQL database that scales to zero, integrates with Prisma ORM and Prisma Studio, and includes a generous free tier.
npx create-db
Quickstart
使用现成的 Prisma Postgres 数据库快速设置 Prisma ORM 的方法。
¥The fastest way to set up Prisma ORM with a ready-to-use Prisma Postgres database.
你已经拥有自己的数据库?
¥ Already have your own database?
使用现成的数据库快速设置 Prisma ORM 的方法。
¥The fastest way to set Prisma ORM up with a ready-to-use database.
将 Prisma 添加到你喜爱的框架?
¥ Add Prisma to your favorite framework?
正在使用 Next.js、Remix 或其他框架?只需几个步骤,即可轻松将 Prisma 添加到你的设置中并立即开始使用。
¥Working with Next.js, Remix, or another framework? You can easily add Prisma to your setup in just a few steps and start using it right away.
