# GraphQL Mutation vs Query - When to use a GraphQL Mutation

DevFeed: [GraphQL Mutation vs Query - When to use a GraphQL Mutation](<https://devfeed.tech/articles/graphql-mutation-vs-query-when-to-use-a-graphql-mutation-23463.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/mutation-vs-query-when-to-use-graphql-mutation>)

Author: Khalil Stemmler

Published: 2021-02-23T17:12:20Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [API](<https://devfeed.tech/topics/api.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mutation](<https://devfeed.tech/tags/mutation.md>), [resolvers](<https://devfeed.tech/tags/resolvers.md>), [server](<https://devfeed.tech/tags/server.md>), [vs](<https://devfeed.tech/tags/vs.md>)

## AI overview

This tutorial explains GraphQL mutations, how they differ from queries, and when to use each operation. It includes mutation examples and discusses server-side resolvers that modify state.

## Source excerpt

This post is part of the Introduction to GraphQL series. You may want to read the previous posts: "What is GraphQL? GraphQL introduction" and "What is a GraphQL Query? GraphQL query examples using Apollo Explorer" So far, we've covered what GraphQL is: a query language and a server-side runtime. But more importantly, GraphQL is the modern way to build declarative, efficient and performant APIs that developers love to work with.