Update Data Of Entity

Command : graph data [{n:"tableName”,t:"c/u/d",d:{}}]

  • n: entity name

  • t: operate type c= create u=update d=delete

  • d: graph data (json array format, support batch submit)

Example1 : update single data

graph data [{"n":"user","t":"u","d":{"age":23,"photo":"https://cathynew.png","id":"3"}}]

Example2 : update batch data

graph data [{"n":"user","t":"u","d":{"age":19,"photo":"https://bobnew.png","id":"2"}},{"n":"user","t":"u","d":{"age":23,"photo":"https://cathynew.png","id":"3"}}]

Last updated