Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PostgreSql

import type { PostgreSql } from "https://googleapis.deno.dev/v1/firebasedataconnect:v1.ts";

Settings for PostgreSQL data source.

interface PostgreSql {
cloudSql?: CloudSqlInstance;
database?: string;
readonly ephemeral?: boolean;
schemaMigration?: "SQL_SCHEMA_MIGRATION_UNSPECIFIED" | "MIGRATE_COMPATIBLE";
schemaValidation?:
| "SQL_SCHEMA_VALIDATION_UNSPECIFIED"
| "NONE"
| "STRICT"
| "COMPATIBLE";
unlinked?: boolean;
}

§Properties

§

Cloud SQL configurations.

§
database?: string
[src]

Required. Name of the PostgreSQL database.

§
readonly ephemeral?: boolean
[src]

Output only. Ephemeral is true if this data connect service is served from temporary in-memory emulation of Postgres. While Cloud SQL is being provisioned, the data connect service provides the ephemeral service to help developers get started. Once the Cloud SQL is provisioned, Data Connect service will transfer its data on a best-effort basis to the Cloud SQL instance. WARNING: Ephemeral data sources will expire after 24 hour. The data will be lost if they aren't transferred to the Cloud SQL instance. WARNING: When ephemeral=true, mutations to the database are not guaranteed to be durably persisted, even if an OK status code is returned. All or parts of the data may be lost or reverted to earlier versions.

§
schemaMigration?: "SQL_SCHEMA_MIGRATION_UNSPECIFIED" | "MIGRATE_COMPATIBLE"
[src]

Optional. Configure how to perform Postgresql schema migration.

§
schemaValidation?: "SQL_SCHEMA_VALIDATION_UNSPECIFIED" | "NONE" | "STRICT" | "COMPATIBLE"
[src]

Optional. Configure how much Postgresql schema validation to perform.

§
unlinked?: boolean
[src]

No Postgres data source is linked. If set, don't allow database and schema_validation to be configured.