When doing mutation operation in dgraph ratel, I get this error.
my json : {"set"[{"uid":"_:helloworld","dgraph.type":"Person","pname":"messi"}]}
error: startTs parameter is mandatory while trying to commit
my dgraph version: v20.07.0
When doing mutation operation in dgraph ratel, I get this error.
my json : {"set"[{"uid":"_:helloworld","dgraph.type":"Person","pname":"messi"}]}
error: startTs parameter is mandatory while trying to commit
my dgraph version: v20.07.0
My mistake, the correct JSON should be like this:
{"set":[{"uid":"_:helloworld","dgraph.type":"Person","pname":"messi"}]}
This is also right:
{"set":[{"dgraph.type":"Person","pname":"messi"}]}