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

MappingRuleFilter

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

A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.

interface MappingRuleFilter {
entities?: string[];
entityNameContains?: string;
entityNamePrefix?: string;
entityNameSuffix?: string;
parentEntity?: string;
}

§Properties

§
entities?: string[]
[src]

Optional. The rule should be applied to specific entities defined by their fully qualified names.

§
entityNameContains?: string
[src]

Optional. The rule should be applied to entities whose non-qualified name contains the given string.

§
entityNamePrefix?: string
[src]

Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.

§
entityNameSuffix?: string
[src]

Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.

§
parentEntity?: string
[src]

Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)