Skip to content

Commit dcdab98

Browse files
authored
Fixing wrong variable (#493)
1 parent b30ffb3 commit dcdab98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/cypher-intro/results.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ The following Cypher code shows how this is done.
350350
----
351351
//Query1: find which people are friends of someone who works for Neo4j
352352
MATCH (p:Person)-[r:IS_FRIENDS_WITH]->(friend:Person)
353-
WHERE exists((p)-[:WORKS_FOR]->(:Company {name: 'Neo4j'}))
353+
WHERE exists((friend)-[:WORKS_FOR]->(:Company {name: 'Neo4j'}))
354354
RETURN p, r, friend;
355355
356356
//Query2: find Jennifer's friends who do not work for a company

0 commit comments

Comments
 (0)