diff --git a/apps/db-adapter/internal/memgraph/queries/create_sibling_relationship.cypher b/apps/db-adapter/internal/memgraph/queries/create_sibling_relationship.cypher index cd3c2a6..23d48b8 100644 --- a/apps/db-adapter/internal/memgraph/queries/create_sibling_relationship.cypher +++ b/apps/db-adapter/internal/memgraph/queries/create_sibling_relationship.cypher @@ -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; \ No newline at end of file + ON CREATE SET r1 = $Relationship1 + ON CREATE SET r2 = $Relationship2 +RETURN collect(r1) + collect(r2) AS relationships; \ No newline at end of file