Created
August 13, 2018 06:40
-
-
Save ecthiender/85cc17bc34a2485c7335430d6949dc64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation update_title_content { | |
update_article( | |
where: {id: {_eq: 1}}, | |
_set: { | |
title: "John's new first post title", | |
content: "New content for John's first post" | |
} | |
) { | |
affected_rows | |
returning { | |
id | |
title | |
content | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment