graphql-engine/server/tests-py/queries/v1/update/basic/person_inc.yaml
nizar-m 596bccde49 add python based tests, remove haskell tests
this does not generate coverage report yet
2018-10-04 18:14:15 +05:30

24 lines
347 B
YAML

description: Updated person data using _inc operator
url: /v1/query
status: 200
response:
affected_rows: 1
returning:
- id: 3
details:
address: foobar
name:
first: foo
last: bar
query:
type: update
args:
table: person
$inc:
id: 2
where:
id: 1
returning:
- id
- details