2min chapter

Syntax - Tasty Web Development Treats cover image

How To Build an API in 2022

Syntax - Tasty Web Development Treats

CHAPTER

The Difference Between a Query and a Mutation

In your server, when somebody hits either an nd point, or, if it's graph ce a, the graph ca does, it only has one nd point. A query is your query data. Ad mutation usually means your up dating or deleting or mutating data. The logic for what should happen when these things run are generally called resolvers or controllers. In what will happen is you write code inside of those.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode