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

20 lines
266 B
YAML

url: /v1/query
status: 200
response:
returning:
- author_id: 1
content: Sample article content 2
id: 2
affected_rows: 1
query:
type: delete
args:
table: article
where:
id: 2
returning:
- id
- content
- author_id