How does GraphQL allow clients to specify exactly what data?

  • Clients have no control over data retrieval
  • Clients must request all available data
  • Clients send SQL queries to the server
  • Clients use query language to specify the data they need
GraphQL allows clients to specify exactly what data they need by using a query language. Clients can define their data requirements in the query, requesting only the specific fields and relationships they want, thus minimizing over-fetching and under-fetching of data. This flexibility is one of GraphQL's key features.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *