Created
May 16, 2019 21:56
-
-
Save joninsky/140613b2007c3b42769aa54599d6fbad to your computer and use it in GitHub Desktop.
MutationExample
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 NewUser($email: String!) { | |
| insert_user(objects: [{email: $email}]) { | |
| returning{ | |
| id | |
| } | |
| affected_rows | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment