After mutate, how to get the new record or uid?

I used dgraph client for rust: dgraph-tonic .

I want to get the new record after mutate, but I quickly encountered a problem and raised the problem to dgraph-tonic: After mutate, how to get the new record or uid ? .

There is no answer yet.

This problem prevented me from continuing to work.

I am not sure if this is a problem with dgraph-tonic or dgraph itself.

Hope to find the answer here.

Not Dgraph, it is a client issue

e.g

Via assigned.data.uids you can get the mutate uids. This should exists in that Rust client.

1 Like

Hi,

We are going to add example to Readme.md asap.

@MichelDiz Thanks. @selmeci answered my question. :clap: