From d3ed3f8b7549724bcaa0d487d2f1cb16d96f4417 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Tue, 1 Apr 2025 23:08:00 +0200 Subject: [PATCH] format query --- .../memgraph/queries/create_sibling_relationship.cypher | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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