Skip to content

Instantly share code, notes, and snippets.

@coco98
Created January 11, 2019 20:35
Show Gist options
  • Save coco98/5124b21decc0b7993ef94465f3d54317 to your computer and use it in GitHub Desktop.
Save coco98/5124b21decc0b7993ef94465f3d54317 to your computer and use it in GitHub Desktop.
mutation($message: messages_insert_input!) {
insert_messages(objects:[$message]) {
returning {
id
sender_id
message
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment