Remove Duplicates from Results

There are when viewed from the user perspective as the end result:

{"data":{"queryMyType":[{"status":1},{"status":1}]}}

That is probably what I was looking for.

Kind of funny, conversing right now about how to do traditional GROUP BY with Dgraph to return data from separate trees. Talking about turning the traditional method around because we can get the groups and their data in one call instead of getting their groups and then getting the data in each group with it’s own query. More brain-washing to stop thinking traditional relational database logic. @chewxy, still thinking of the best answer to your question on how to switch from rDBs to graphDBs.

1 Like