Created
August 13, 2018 09:03
-
-
Save ecthiender/1c49fea6331e313c03e4f0ab2c378fed 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_drafts { | |
update_article( | |
where: {author: {name: {_eq: "John"}}}, | |
_set: {is_published: true} | |
) { | |
affected_rows | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment