mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-22 23:11:41 +03:00
e5eb0c4f34
Update trigger is failing if any json/geometry columns are present in event payload rows. Use '*<>' operator instead of '<>' to compare the internal binary representation of rows if '<>' doesn’t work.
26 lines
463 B
YAML
26 lines
463 B
YAML
type: bulk
|
|
args:
|
|
- type: create_event_trigger
|
|
args:
|
|
name: t1_cols
|
|
table:
|
|
schema: hge_tests
|
|
name: test_t1
|
|
update:
|
|
columns: ["c1", "c3"]
|
|
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
|