1import { Database } from "./Database.ts";
2
3/**
4 * Product-shaped convenience alias for {@link Database}.
5 *
6 * `Prisma.Postgres(...)` and `Prisma.Database(...)` use the same underlying
7 * Prisma Postgres resource provider. Prefer `Postgres` when you want the code
8 * to read like the Prisma product name, and `Database` when you want to mirror
9 * the Management API route names. Like `Database`, this standalone resource
10 * cannot be the project's default database; use `Prisma.Project` to own the
11 * default.
12 *
13 * **Example:** Example
14 * ```typescript
15 * const project = yield* Prisma.Project("app", { createDatabase: false });
16 * const postgres = yield* Prisma.Postgres("db", {
17 * project,
18 * region: "us-east-1",
19 * });
20 * ```
21 *
22 * @resource
23 * @product Postgres
24 */
25export const Postgres = Database;
26export type { DatabaseProps as PostgresProps } from "./Database.ts";