|
|
|
|
|
by contravariant
1818 days ago
|
|
I can get behind the idea that SQL is a bit too powerful to allow it to talk to other databases easily. And not automatically joining by foreign key is a mistake that's going to haunt us for a while I bet. However when we're arguing capability then it's just as capable of querying a graph as graphDB is. More if the version of SQL supports recursive joins. |
|
And no, arbitrary join expressions are not a feature that "haunts" SQL databases, because unlike graph databases, relational databases ARE built for that, and it's one of the primary reasons SQL databases are very resilient to change in face of constantly changing ad-hoc query requirements. And it's an important feature of relational algebra that is used every day by countless applications.
SQL and GraphQL serve different purposes at different application layers. Both do precisely what they have to do. The fact they're a bit similar is not coincidental, but also they're not mutually replaceable.