What Dgraph client (and version) are you using?
(put “x” in the box to select)
-
Dgo
Version: v210
What version of Dgraph are you using? 21.03.1
When I run the following mutation
type Path struct {
Title string `json:"Path.title,omitempty"`
}
p := Path{
Title: "NewPath",
}
pb, err := json.Marshal(p)
if err != nil {
log.Fatal(err)
}
mu := &api.Mutation{
SetJson: pb,
}
resp, err := txn.Mutate(ctx, mu)
if err != nil {
log.Fatal(err)
}
{"c":{"txn":{"start_ts":145953,"keys":["sdbssh"],"preds":["1-\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000Path.title"]},"latency":{"parsing_ns":58475,"processing_ns":673067,"assign_timestamp_ns":480799,"total_ns":1271831},"metrics":{"num_uids":{"_total":2,"mutation_cost":2}},"uids":{"dg.842992234.11":"0xc367"},"hdrs":{"content-type":{"value":["application/grpc"]},"dgraph-toucheduids":{"value":["2"]}}}
I keep getting this response during mutation. How do I solve this?