concept mutation in category graphql
appears as: mutations, Mutation, The mutation, mutation, mutations, A mutation

This is an excerpt from Manning's book GraphQL in Action.
While the Q (for query) is right there in the name, querying is associated with reading but GraphQL can be used for both reading and modifying data. When you need to read data with GraphQL you use queries and when you need to modify data you use mutations. Both queries and mutations are part of the GraphQL language.
Since this is the very first mutation we’re creating, we need to do some groundwork to wire things up for all mutations. We basically need to first make the schema ready to host mutations.
Listing 8.51. Request to test
approachCreatemutation approachCreate { approachCreate( taskId: 42 # Get this value from a taskCreate mutation call input: { content: "INSERT INTO tableName ·-·-·] ) ] SELECT-STATEMENT", detailList: [ { content: "You can still use a RETURNING clause after that", category: NOTE, }, { content: "The INSERT statement only works if the SELECT statement does", category: EXPLANATION, }, ], } ) { errors { message } approach { id content voteCount author { username } detailList { content category } } } }