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

TriggerEntity

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

Trigger is not used as an independent entity, it is retrieved as part of a Table entity.

interface TriggerEntity {
customFeatures?: {
[key: string]: any;
}
;
name?: string;
sqlCode?: string;
triggeringEvents?: string[];
triggerType?: string;
}

§Properties

§
customFeatures?: {
[key: string]: any;
}
[src]

Custom engine specific features.

§
name?: string
[src]

The name of the trigger.

§
sqlCode?: string
[src]

The SQL code which creates the trigger.

§
triggeringEvents?: string[]
[src]

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

§
triggerType?: string
[src]

Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.