Prev Next

API / GraphQL Interview Questions

Difference between a mutation and a query in GraphQL.

In GraphQL, mutations are used to write or change data, while queries are used to read data. Queries are used for operations that do not have side effects, such as data retrieval, while mutations are used for operations that can modify data (CRUD operations), such as those that create, update, or delete records.

More Related questions...

Show more question and Answers...


Comments & Discussions