create_trigger
Create or replace database triggers by executing a full DDL statement. Apply trigger definitions on writable connections, with automatic commit.
Instructions
Create or replace a trigger using a full DDL statement. The statement must start with CREATE. Commits automatically (DDL). Only available on writable connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | Connection name from list_schemas. Must have readonly=false. | |
| trigger_sql | Yes | Full CREATE OR REPLACE TRIGGER ... DDL statement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |