4 ms·
A join in GraphQL looks like this: { getOrganisation(args){ name, employees{ Name, Position }} (I added commas to make it easier to read, but they are not sup
by eksemplar 8y ago
A join in GraphQL looks like this:
{
getOrganisation(args){
name,
employees{
Name,
Position
}}
(I added commas to make it easier to read, but they are not supposed to be there)
I know SQL, so I don’t think it’s necessarily easier, but what is easier, is non-sql-savvy people making efficient queries because GraphQL does a lot of the heavy lifting for you.