Dgraph Live Loader can optionally write the xid → uid mapping to a directory specified using the --xidmap flag, which can reused given that live loader completed successfully in the previous run.
@amaster507
what is the difference between the --xidmap and -U “xid” flags.
currently I am loading my data using the below command
dgraph live --files mydata.json --upsertPredicate "xid"
will this cause duplicates?
I havent seen duplicates, they got merged properly when i tried that command.
Is this correct way to use ?
can you brief me what that xid does in the above command?
“unique” and “consistent,” I think that are synonyms in this context. Right? Or do you mean something else? Patterns and so you can do, it is good to keep things standardized.