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

Relation

import type { Relation } from "https://googleapis.deno.dev/v1/dataform:v1beta1.ts";

Represents a database relation.

interface Relation {
additionalOptions?: {
[key: string]: string;
}
;
clusterExpressions?: string[];
dependencyTargets?: Target[];
disabled?: boolean;
incrementalTableConfig?: IncrementalTableConfig;
partitionExpirationDays?: number;
partitionExpression?: string;
postOperations?: string[];
preOperations?: string[];
relationDescriptor?: RelationDescriptor;
relationType?:
| "RELATION_TYPE_UNSPECIFIED"
| "TABLE"
| "VIEW"
| "INCREMENTAL_TABLE"
| "MATERIALIZED_VIEW";
requirePartitionFilter?: boolean;
selectQuery?: string;
tags?: string[];
}

§Properties

§
additionalOptions?: {
[key: string]: string;
}
[src]

Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.

§
clusterExpressions?: string[]
[src]

A list of columns or SQL expressions used to cluster the table.

§
dependencyTargets?: Target[]
[src]

A list of actions that this action depends on.

§
disabled?: boolean
[src]

Whether this action is disabled (i.e. should not be run).

§
incrementalTableConfig?: IncrementalTableConfig
[src]

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

§
partitionExpirationDays?: number
[src]

Sets the partition expiration in days.

§
partitionExpression?: string
[src]

The SQL expression used to partition the relation.

§
postOperations?: string[]
[src]

SQL statements to be executed after creating the relation.

§
preOperations?: string[]
[src]

SQL statements to be executed before creating the relation.

§
relationDescriptor?: RelationDescriptor
[src]

Descriptor for the relation and its columns.

§
relationType?: "RELATION_TYPE_UNSPECIFIED" | "TABLE" | "VIEW" | "INCREMENTAL_TABLE" | "MATERIALIZED_VIEW"
[src]

The type of this relation.

§
requirePartitionFilter?: boolean
[src]

Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.

§
selectQuery?: string
[src]

The SELECT query which returns rows which this relation should contain.

§
tags?: string[]
[src]

Arbitrary, user-defined tags on this action.