Skip to content

Commit 3191ccb

Browse files
Cypher 25 only roles (#1376)
1 parent eabe1e2 commit 3191ccb

25 files changed

+273
-32
lines changed

modules/ROOT/pages/clauses/filter.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= FILTER
22
:description: Information about Cypher's `FILTER` clause.
33
:table-caption!:
4-
:page-role: new-2025.06
4+
:page-role: new-neo4j-2025.06 cypher-25-only
55

66
`FILTER` is used to add filters to queries, similar to Cypher's xref:clauses/where.adoc[`WHERE`].
77
Unlike `WHERE`, `FILTER` is not a subclause, which means it can be used independently of the xref:clauses/match.adoc[`MATCH`], xref:clauses/optional-match.adoc[`OPTIONAL MATCH`], and xref:clauses/with.adoc[`WITH`] clauses, but not within them.

modules/ROOT/pages/clauses/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This set is refined and augmented by subsequent parts of the query.
2020

2121
m| xref::clauses/filter.adoc[FILTER]
2222
| Adds filters to queries.
23-
label:new[Introduced in Neo4j 2025.06]
23+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
2424

2525
m| xref::clauses/match.adoc[MATCH]
2626
| Specify the patterns to search for in the database.
@@ -45,7 +45,7 @@ m| xref::clauses/finish.adoc[FINISH]
4545

4646
m| xref::clauses/let.adoc[LET]
4747
| Binds values to variables.
48-
label:new[Introduced in Neo4j 2025.06]
48+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
4949

5050
m| xref::clauses/return.adoc[RETURN ... [AS]]
5151
| Defines what to include in the query result set.

modules/ROOT/pages/clauses/let.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= LET
22
:description: Information about Cypher's `LET` clause.
33
:table-caption!:
4-
:page-role: new-2025.06
4+
:page-role: new-neo4j-2025.06 cypher-25-only
55

66
`LET` binds expressions to variables.
77
For queries involving several chained expressions, it can be a more succinct and readable alternative to xref:clauses/with.adoc[`WITH`].

modules/ROOT/pages/clauses/match.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ RETURN actors.name AS actor, movieCount, collect(movies.title) AS movies
494494
<1> The `Person` and `Movie` nodes matched in this step are stored in variables, which are then passed on to the second row of the query.
495495
<2> The `movies` variable is implicitly imported by its occurrence in the `count()` function.
496496
The `WITH` clause explicitly imports the `actors` variable.
497-
<3> An xref:clauses/order-by.adoc[`ORDER BY`] clause orders the results by `movieCount` in descending order, ensuring that the `Person` with the highest number of movies appears at the top, and xref:clauses/limit.adoc[`LIMIT] 1` ensures that all other `Person` nodes are discarded.
497+
<3> An xref:clauses/order-by.adoc[`ORDER BY`] clause orders the results by `movieCount` in descending order, ensuring that the `Person` with the highest number of movies appears at the top, and xref:clauses/limit.adoc[`LIMIT`] `1` ensures that all other `Person` nodes are discarded.
498498
<4> The second `MATCH` clause finds all `Movie` nodes associated with the `Person` nodes currently bound to the `actors` variable.
499499

500500
[NOTE]

modules/ROOT/pages/clauses/remove.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Properties set: 1
6666
== Remove all properties
6767

6868
`REMOVE` cannot be used to remove all existing properties from a node or relationship.
69-
Instead, using xref::clauses/set.adoc#set-remove-properties-using-empty-map[`SET` with `=` and an empty map as the right operand] will clear all properties from the node or relationship.
69+
Instead, using xref::clauses/set.adoc#set-remove-properties-using-empty-map[`SET`] with `=` and an empty map as the right operand will clear all properties from the node or relationship.
7070

7171
[[dynamic-remove-property]]
7272
== Dynamically remove a property
@@ -152,7 +152,7 @@ REMOVE n:$(label)
152152
RETURN n.name, labels(n)
153153
----
154154

155-
<1> xref:clauses/unwind.adoc[`UNWIND`] is used here to transform the list of labels from the xref:functions/list.adoc#functions-labels[`labels()]` function into separate rows, allowing subsequent operations to be performed on each label individually.
155+
<1> xref:clauses/unwind.adoc[`UNWIND`] is used here to transform the list of labels from the xref:functions/list.adoc#functions-labels[`labels()`] function into separate rows, allowing subsequent operations to be performed on each label individually.
156156

157157
.Result
158158
[role="queryresult",options="header,footer",cols="2*<m"]

modules/ROOT/pages/clauses/with.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ ORDER BY discountRates
339339
1+d|Rows: 5
340340
|===
341341

342-
[role=label--new-2025.06]
342+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
343343
[[with-all-results]]
344344
== Explicitly project values
345345

modules/ROOT/pages/expressions/conditional-expressions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ implied equals (`=`) comparator.
111111
The supported comparators are:
112112

113113
* xref:expressions/predicates/comparison-operators.adoc[Regular Comparison Operators]: `+=+`, `+<>+`, `+<+`, `+>+`, `+<=+`, `+>=+`
114-
* xref:expressions/predicates/comparison-operators.adoc[`IS [NOT] NULL`]
114+
* xref:expressions/predicates/comparison-operators.adoc[`IS [NOT\] NULL`]
115115
* xref:expressions/predicates/type-predicate-expressions.adoc[Type predicate expressions]: `IS [NOT] TYPED <TYPE>` (Note that the form `IS [NOT] :: <TYPE>` is not accepted)
116116
* xref:expressions/predicates/string-operators.adoc[Normalization Predicate Expression]: `IS [NOT] NORMALIZED`
117117
* xref:expressions/predicates/string-operators.adoc[String Comparison Operators]: `STARTS WITH`, `ENDS WITH`, `=~` (regex matching)

modules/ROOT/pages/functions/index.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ All trigonometric functions operate on radians, unless otherwise specified.
313313
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cosh[`cosh()`]
314314
| `cosh(input :: FLOAT) :: FLOAT`
315315
| Returns the hyperbolic cosine of a `FLOAT`.
316-
label:new[Introduced in Neo4j 2025.06]
316+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
317317

318318
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cot[`cot()`]
319319
| `cot(input :: FLOAT) :: FLOAT`
@@ -322,7 +322,7 @@ label:new[Introduced in Neo4j 2025.06]
322322
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-coth[`coth()`]
323323
| `coth(input :: FLOAT) :: FLOAT`
324324
| Returns the hyperbolic cotangent of a `FLOAT`.
325-
label:new[Introduced in Neo4j 2025.06]
325+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
326326

327327
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-degrees[`degrees()`]
328328
| `degrees(input :: FLOAT) :: FLOAT`
@@ -347,7 +347,7 @@ label:new[Introduced in Neo4j 2025.06]
347347
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-sinh[`sinh()`]
348348
| `sinh(input :: FLOAT) :: FLOAT`
349349
| Returns the hyperbolic sine of a `FLOAT`.
350-
label:new[Introduced in Neo4j 2025.06]
350+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
351351

352352
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tan[`tan()`]
353353
| `tan(input :: FLOAT) :: FLOAT`
@@ -356,7 +356,7 @@ label:new[Introduced in Neo4j 2025.06]
356356
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tanh[`tanh()`]
357357
| `tanh(input :: FLOAT) :: FLOAT`
358358
| Returns the hyperbolic tangent of a `FLOAT`.
359-
label:new[Introduced in Neo4j 2025.06]
359+
label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.06]
360360

361361
|===
362362

modules/ROOT/pages/functions/mathematical-trigonometric.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ The cosine of `0.5` is returned.
234234
235235
======
236236

237-
[role=label--new-2025.06]
237+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
238238
[[functions-cosh]]
239239
== cosh()
240240

@@ -327,7 +327,7 @@ The cotangent of `0.5` is returned.
327327
======
328328

329329

330-
[role=label--new-2025.06]
330+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
331331
[[functions-coth]]
332332
== coth()
333333

@@ -629,7 +629,7 @@ The sine of `0.5` is returned.
629629
======
630630

631631

632-
[role=label--new-2025.06]
632+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
633633
[[functions-sinh]]
634634
== sinh()
635635

@@ -723,7 +723,7 @@ The tangent of `0.5` is returned.
723723

724724

725725

726-
[role=label--new-2025.06]
726+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
727727
[[functions-tanh]]
728728
== tanh()
729729

modules/ROOT/pages/introduction/cypher-neo4j.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Only xref::planning-and-tuning/runtimes/concepts.adoc#runtimes-slotted-runtime[s
5252
[NOTE]
5353
The `system` database cannot be deleted.
5454
The default user database, `neo4j`, can be deleted.
55-
If you want to delete it, first set another database as the default using the procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase]` (this must be done from the `system` database).
55+
If you want to delete it, first set another database as the default using the procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_dbms_setDefaultDatabase[`dbms.setDefaultDatabase`] (this must be done from the `system` database).
5656
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/clustering/databases/#cluster-default-database[Operations Manual -> Change the default database].
5757

5858

0 commit comments

Comments
 (0)