graphql-engine/server/tests-py/queries/graphql_mutation/delete/basic/article_mssql.yaml
Gil Mizrahi 0e65932355 server/mssql support delete mutations (close hasura/graphql-engine#7626)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2691
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 8b66cc30e8e036ee56a5267c1d2f308155951ae9
2021-11-19 17:06:01 +00:00

17 lines
277 B
YAML

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