2 ms·
I don't think I'm conflating it. jseban's comment indicates that anyone who knows how to write simple SQL queries would get no benefit from using GraphQL to con
by tshaddox 5y ago
I don't think I'm conflating it. jseban's comment indicates that anyone who knows how to write simple SQL queries would get no benefit from using GraphQL to consume data, which must mean that there is a simple SQL query that can be written to fulfill any GraphQL query.
- marcosdumay 5y ago> there is a simple SQL query that can be written to fulfill any GraphQL query This is true (as long as you expect both queries to be simple, or allow both to be complex). But the conclusion you get up there is wrong and (obviously) does not follow from that. Creating a software that translate any one query into the other is a very difficult task.
- charcircuit 5y agoNot all of the data sources for graphql may be in a single database. They may not necessarily even be stored in something that can be accessed with SQL.