We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ba102 commit 036495bCopy full SHA for 036495b
modules/ROOT/pages/cypher-intro/results.adoc
@@ -350,7 +350,7 @@ The following Cypher code shows how this is done.
350
----
351
//Query1: find which people are friends of someone who works for Neo4j
352
MATCH (p:Person)-[r:IS_FRIENDS_WITH]->(friend:Person)
353
-WHERE exists((p)-[:WORKS_FOR]->(:Company {name: 'Neo4j'}))
+WHERE exists((friend)-[:WORKS_FOR]->(:Company {name: 'Neo4j'}))
354
RETURN p, r, friend;
355
356
//Query2: find Jennifer's friends who do not work for a company
0 commit comments