mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
20 lines
376 B
YAML
20 lines
376 B
YAML
description: Updated person data using _delete_key operator
|
|
url: /v1alpha1/graphql
|
|
status: 200
|
|
query:
|
|
query: |
|
|
mutation update_person($value: jsonb) {
|
|
update_person(
|
|
where: {id: {_eq: 1}},
|
|
_delete_key: {
|
|
details: "address"
|
|
}
|
|
){
|
|
affected_rows
|
|
returning{
|
|
id
|
|
details
|
|
}
|
|
}
|
|
}
|