Dgraph DQL Tour
Dgraph doesn’t support setting external IDs for nodes. If an application requires unique identifiers for nodes other than the UIDs assigned by Dgraph, then these have to be supplied as edges. It’s up to a user application to ensure the uniqueness of such IDs/keys.
More about in https://dgraph.io/docs/mutations/#external-ids