Mutations(Update and Delete) - GraphiQL
Mutations(Update and Delete) - GraphiQL
I am new to Neo4j and GraphiQl and this is my first post in StackOverflow. I would like to please have some suggestions regarding this issue.
ISSUE:
I am trying to build a schema for Neo4j for the already existing model and also the mutations with the help of GraphiQL. Now am able to create nodes and add properties using GraphiQL, but not able to do an update and delete.
Sorry, couldn't post actual data. Can explain with an example.
Example:
Endpoint:graphql/idl
type Michigan
Troy:String
Lansing:String
Novi: String
type Illinois
Aurora:String
Naperville: String
Chicago:String
Once executed this query I am able to see the nodes in the browser.
Endpoint: Graphql/
Now in Graphiql mutations
mutation
#I can see createMichigan dropdown list here
CreateMichigan(City:"FarmingtonHills")
Able to add and can see the output in the browser.
Here I need to get a dropdown for the update and delete as well, which I am not able to.
Please do let me know where am I going wrong.
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.