I’m new to this whole dgraph thing, I’v gone through large parts of the graphQL+ tutorial, and tried to understand the Dgraph4j sample program, but I can not for the life of me seem to get edges or uid’s to work using the client. Or if the edges are working the following does not show anything:
String query = “{\n all(func: has(friends)){\n friends\n }\n }”;
Response res = dgraphClient.newTransaction().query(query);
System.out.println(res.getJson().toStringUtf8());
This simply prints out an empty response despite the JSON of my mutation having a friends field containing info.
Any help would be appreciated thanks.