You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clauses/match.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,10 +110,10 @@ RETURN n.name AS name, n.title AS title
110
110
2+|Rows: 7
111
111
|===
112
112
113
-
.Node pattern using the `AND` (`&`) and negation (`!`) label expression
113
+
.Node pattern using negation (`!`) label expression
114
114
[source, cypher]
115
115
----
116
-
MATCH (n:!Director&!Movie)
116
+
MATCH (n:!Movie)
117
117
RETURN labels(n) AS label, count(n) AS labelCount
118
118
----
119
119
@@ -236,7 +236,7 @@ It is possible to specify the type of a relationship in a relationship pattern b
236
236
.Relationship pattern filtering on the `ACTED_IN` relationship type
237
237
[source, cypher]
238
238
----
239
-
MATCH (:Movie {title: 'Wall Street'})<-[:ACTED_IN]-(actor)
239
+
MATCH (:Movie {title: 'Wall Street'})<-[:ACTED_IN]-(actor:Person)
240
240
RETURN actor.name AS actor
241
241
----
242
242
@@ -452,8 +452,8 @@ RETURN director.name AS director, movie.title AS movieTitle
452
452
|===
453
453
454
454
A variable can be implicitly carried over to the following clause by being referenced in another operation.
455
-
A variable can also be explicitly passed to the following clause using the `WITH` clause.
456
-
If a variable is neither implicitly nor explicitly carried over, it will be discarded and unavailable for reference later in the query.
455
+
A variable can also be explicitly passed to the following clause using the xref:clauses/with.adoc[`WITH`] clause.
456
+
If a variable is neither implicitly nor explicitly carried over to its following clause, it will be discarded and unavailable for reference later in the query.
0 commit comments