Created
April 23, 2019 23:41
-
-
Save mobilequickie/a616392e5819cdf5f0bf4c63bca7781c to your computer and use it in GitHub Desktop.
A sample mutation for creating a new customer in the Customers table of an Aurora Serverless Data API enabled database as a datastore for AWS AppSync
This file contains 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 CreateCustomer { | |
createCustomers(createCustomersInput: { | |
id: 2, | |
name: "Customer Two", | |
phone: "206-555-xxxx", | |
email: "cust@customertwo.com" | |
}) { | |
id | |
name | |
phone | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment