Such a statement, for example, I perform twice will produce the same two nodes
CodePudding user response:
Never used this kind of database, can't help you sorryCodePudding user response:
Use the merge keywordMerge (n: person {id: 1}) set n +={id: 1, name: 'the lz, age: 18} return n
When a person node properties match id=1, update the node, if there is no criterion to create the node,