graphql-engine/server/tests-py/queries/event_triggers/update_query/update-setup.yaml

26 lines
457 B
YAML

type: bulk
args:
- type: create_event_trigger
args:
name: t1_cols
table:
schema: hge_tests
name: test_t1
update:
columns: ["c1"]
delete:
columns: "*"
webhook: http://127.0.0.1:5592/new
retry_conf:
num_retries: 5
interval_sec: 5
replace: true
- type: select
args:
table:
schema: hdb_catalog
name: event_triggers
columns: ["configuration"]
where:
name: t1_cols