Hacker News new | ask | show | jobs
by atombender 2785 days ago
GraphQL isn't a query language, it's an API protocol language. Big difference.
2 comments

Well it is a query language, QL stands for query language.
The name doesn't make it so. It defines a syntax and a single operator (nesting), but nothing else. You can't use it to "query" arbitrary data sources in the sense that other query languages such as SQL do, since there are no operators, functions, subqueries/arbitrary joins etc. It's an alternative to REST, not SQL.
I think you should read the definition right from the website: https://graphql.org/learn/
From the website: "GraphQL is a query language for your API"