format query

This commit is contained in:
2025-04-01 23:08:00 +02:00
parent 3a9a05103b
commit d3ed3f8b75

View File

@@ -1,6 +1,6 @@
MATCH (a:Person), (b:Person)
WHERE id(a) = $id1 AND id(b) = $id2 AND $id1 != $id2
MERGE (a)-[r1:Sibling]->(b)-[r2:Sibling]->(a)
ON CREATE SET r1 = $Relationship1
ON CREATE SET r2 = $Relationship2
RETURN collect(r1)+collect(r2) as relationships;
ON CREATE SET r1 = $Relationship1
ON CREATE SET r2 = $Relationship2
RETURN collect(r1) + collect(r2) AS relationships;