Skip to content

Commit 0cc0b3e

Browse files
committed
PR updates
1 parent 568655e commit 0cc0b3e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

modules/ROOT/pages/clauses/filter.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RETURN p.name AS person,
9696
[[filter-on-dynamic-labels-and-types]]
9797
== Filter on dynamic labels and types
9898

99-
To filter on a label or type using a dynamically computed value, use `$(<expr>)`:
99+
To filter on a label or relationship type using a dynamically computed value, use `$(<expr>)` where <expr> is any Cypher expression:
100100

101101
.Parameters
102102
[source, parameters]

modules/ROOT/pages/clauses/where.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ RETURN f.name AS oldFriend
106106
[[filter-on-dynamic-labels-and-types]]
107107
== Filter on dynamic labels and types
108108

109-
To filter on a label or type using a dynamically computed value, use `$(<expr>)`:
109+
To filter on a label or relationship type using a dynamically computed value, use `$(<expr>)` where <expr> is any Cypher expression:
110110

111111
.Parameters
112112
[source, parameters]

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ label:updated[]
3838
[source, cypher, role="noheader"]
3939
----
4040
MATCH (n)-[r]->()
41-
WHERE n:$(<expr>)
42-
WITH n, r:$(<expr>) AS hasType
43-
RETURN n:$(<expr>)
41+
WHERE n:$(<expr1>)
42+
WITH n, r:$(<expr2>) AS hasType
43+
RETURN n:$(<expr3>)
4444
----
4545

4646
| Added the ability to dynamically reference node labels and relationship types in places where xref:patterns/reference.adoc#label-expressions[label expressions] are allowed.

modules/ROOT/pages/patterns/reference.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ The following matches relationships that have a type that is neither `A` nor `B`
315315
----
316316

317317
[[dynamic-label-and-type-expressions]]
318-
=== Dynamic Label and Type expressions
318+
=== Dynamic label and type expressions
319319

320320
Node labels and relationship types can be referenced dynamically in expressions, parameters, and variables within label expressions.
321321

@@ -325,7 +325,7 @@ Node labels and relationship types can be referenced dynamically in expressions,
325325
dynamicLabelExpression ::= ":$(" + valueExpression ")"
326326
----
327327

328-
The valueExpression must evaluate to a `STRING NOT NULL | LIST<STRING NOT NULL> NOT NULL` value.
328+
The `valueExpression` must evaluate to a `STRING NOT NULL | LIST<STRING NOT NULL> NOT NULL` value.
329329

330330
[[property-key-value-expressions]]
331331
== Property key-value expressions

0 commit comments

Comments
 (0)