Skip to main content

Prisma 工作室

概述

¥Overview

Prisma Postgres 内置 Prisma Studio。你可以通过多种方式使用它:

¥Prisma Postgres comes with Prisma Studio built-in. You can use it in several ways:

  • 运行 npx prisma studio 即可在你的计算机上本地使用 Studio(也可通过 Prisma ORM 与任何其他数据库配合使用)

    ¥Run npx prisma studio to use Studio locally on your machine (also works with any other database via Prisma ORM)

  • 中的项目中找到 Studio 选项卡,即可在线使用 Studio。

    ¥Find the Studio tab in your project in the to use Studio online

  • 安装 Prisma VS Code 扩展 以便直接在 VS Code 中使用 Studio

    ¥Install the Prisma VS Code extension to use Studio directly in VS Code

  • 你自己的应用中的 嵌入 Prisma Studio(例如,作为管理仪表板)

    ¥Embed Prisma Studio in your own app (e.g. as an admin dashboard)

注意

如果你想将 Prisma Studio 与 Prisma Postgres 以外的其他数据库一起使用,请查看文档 此处

¥If you want to use Prisma Studio with another database than Prisma Postgres, check the docs here.