0Pricing
GraphQL APIs with Spring Boot · Lesson

Understanding GraphQL Mutations

Grasp the concept of mutations, their role in data manipulation, and how they differ from queries.

What are GraphQL Mutations?

Welcome! In GraphQL, you interact with your data in two main ways: fetching it and changing it.

Mutations are the operations you use to modify data on your server. Think of them as the 'write' actions of your API.

Queries: Just for Reading

Before diving deep into mutations, let's quickly recall Queries.

  • Queries are used to fetch data from your server.
  • They are designed to be read-only operations.
  • Running a query should never change any data on the backend. They are side-effect free.

All lessons in this course

  1. Understanding GraphQL Mutations
  2. Creating Data with Mutations
  3. Updating and Deleting Data
  4. Validating Mutation Input Arguments
← Back to GraphQL APIs with Spring Boot