I would like to update node property more than one time (node). How does the cypher query look like?
For example, we can update node property individually by running the below cypher query
MATCH (a:Span {id:"A"})
SET a.name = "checkout";
and
MATCH (b:Span {id:"B"})
SET b.name = "login";
separately.
But is there way to run the update together? I tried
MATCH (a:Span {id:"A"})
SET a.name = "checkout"
MATCH (b:Span {id:"B"})
SET b.name = "login";
Neo4j just throws "Neo.ClientError.Statement.SyntaxError" and does not work.