Add Data to 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 : add single data
graph data [{"n":"user","t":"c","d":{"name":"alice","id":"1","age":20,"photo":"https://alice.png"}}]
Example2 : add batch data
graph data [{"n":"user","t":"c","d":{"name":"bob","id":"2","age":22,"photo":"https://bob.png"}},{"n":"user","t":"c","d":{"name":"cathy","id":"3","age":31,"photo":"https://cathy.png"}},{"n":"user","t":"c","d":{"name":"david","id":"4","age":"40","photo":"https://david.png"}}]
Last updated