Postgres
Source:
src/Prisma/Postgres.ts
Product-shaped convenience alias for Database.
Prisma.Postgres(...) and Prisma.Database(...) use the same underlying
Prisma Postgres resource provider. Prefer Postgres when you want the code
to read like the Prisma product name, and Database when you want to mirror
the Management API route names.
Examples
Section titled “Examples”const project = yield* Prisma.Project("app", { createDatabase: false });const postgres = yield* Prisma.Postgres("db", { project, name: "main", region: "us-east-1",});