graphql-engine/server/tests-py/queries/v1/insert/onconflict/upsert_author.yaml
2018-09-18 11:51:57 +05:30

22 lines
315 B
YAML

url: /v1/query
status: 200
response:
affected_rows: 1
returning:
- id: 1
name: Author 1 updated
query:
type: insert
args:
table: author
objects:
- name: Author 1 updated
id : 1
on_conflict:
constraint_on:
- id
action: update
returning:
- name
- id