Assuming you execute a request as below:
res,err := dg.NewTxn().Do(ctx, req)
If you get an empty map, and you see the predicate name in res.Txn.Preds, you can infer that a predicate was applied between existing uids.
Assuming you execute a request as below:
res,err := dg.NewTxn().Do(ctx, req)
If you get an empty map, and you see the predicate name in res.Txn.Preds, you can infer that a predicate was applied between existing uids.