Skip to content

Commit 1bf458e

Browse files
committed
Cypher: Minor adjustments to updates
1 parent 7187ff1 commit 1bf458e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cypher/queries/interactive-update-1.cypher

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ UNWIND $tagIds AS tagId
1717
CREATE (p)-[:HAS_INTEREST]->(t)
1818
WITH p, count(*) AS dummy2
1919
UNWIND $studyAt AS s
20-
MATCH (u:Organisation {id: s[0]})
20+
MATCH (u:University {id: s[0]})
2121
CREATE (p)-[:STUDY_AT {classYear: s[1]}]->(u)
2222
WITH p, count(*) AS dummy3
2323
UNWIND $workAt AS w
24-
MATCH (comp:Organisation {id: w[0]})
24+
MATCH (comp:Company {id: w[0]})
2525
CREATE (p)-[:WORKS_AT {workFrom: w[1]}]->(comp)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
MATCH (person:Person {id: $personId}), (comment:Comment {id: $commentId})
2-
CREATE (person)-[:LIKES {creationDate: $creationDate}]->(comment)
2+
CREATE (person)-[:LIKES {creationDate: $creationDate}]->(comment)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
MATCH (f:Forum {id: $forumId}), (p:Person {id: $personId})
2-
CREATE (f)-[:HAS_MEMBER {creationDate: $creationDate}]->(p)
2+
CREATE (f)-[:HAS_MEMBER {creationDate: $creationDate}]->(p)

0 commit comments

Comments
 (0)