mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
26 lines
391 B
YAML
26 lines
391 B
YAML
|
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
|