graphql-engine/server/tests-py/queries/v1/update/basic/person_set_details.yaml

26 lines
391 B
YAML
Raw Normal View History

description: Updated person data using _set operator
url: /v1/query
status: 200
response:
affected_rows: 1
returning:
- id: 1
details:
name:
first: john
last: taylor
query:
type: update
args:
table: person
$set:
details:
name:
first: john
last: taylor
where:
id: 1
returning:
- id
- details