graphql-engine/server/tests-py/queries/graphql_mutation/delete/article.yaml
2018-09-18 11:51:57 +05:30

17 lines
283 B
YAML

description: Delete mutation on article
url: /v1alpha1/graphql
status: 200
response:
data:
delete_article:
affected_rows: 1
query:
query: |
mutation delete_article {
delete_article (
where: {id: {_eq: 5}}
) {
affected_rows
}
}