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.
2 parents 39364c0 + e8396fe commit b3cdeccCopy full SHA for b3cdecc
docs/modules/ROOT/pages/clauses/match.adoc
@@ -46,16 +46,16 @@ Relationships can be used in a match clause by creating the relevant xref:/patte
46
47
[source, javascript]
48
----
49
-const actedInPattern = new Cypher.Pattern(movieNode, { labels: ["Movie"] })
+const actedInPattern = new Cypher.Pattern(personNode, { labels: ["Person"] })
50
.related({ type: "ACTED_IN" })
51
- .to(personNode, { labels: ["Person"] });
+ .to(movieNode, { labels: ["Movie"] });
52
53
const matchQuery = new Cypher.Match(actedInPattern)
54
55
56
[source, cypher]
57
58
-MATCH (this1:`Person`)-[this0:ACTED_IN]->(this2:`Movie`)
+MATCH (this0:Person)-[:ACTED_IN]->(this1:Movie)
59
60
61
== Filtering with `WHERE`
0 commit comments