Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8514b29
write cypher selection page
JPryce-Aklundh Nov 14, 2024
85f4663
change 2025.01 to 2025.02
JPryce-Aklundh Dec 20, 2024
8b25fa4
change page-version to current in links
JPryce-Aklundh Jan 10, 2025
6a54b9a
2025.03 update and procedures section
JPryce-Aklundh Feb 3, 2025
e1a6900
Merge branch 'cypher-25' into select_version
JPryce-Aklundh Feb 25, 2025
b5b82b4
add config info
JPryce-Aklundh Feb 25, 2025
11e8788
conflict fix
JPryce-Aklundh Feb 25, 2025
5e285b4
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/do…
JPryce-Aklundh Feb 25, 2025
fc023a6
fix links
JPryce-Aklundh Feb 25, 2025
360f226
clarify table
JPryce-Aklundh Feb 25, 2025
3d5f74f
typo in example
stefano-ottolenghi Feb 25, 2025
5b0baa8
ambiguity clearup
JPryce-Aklundh Feb 25, 2025
1b3f808
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/do…
JPryce-Aklundh Feb 25, 2025
7be498c
typos
stefano-ottolenghi Feb 25, 2025
8d44f62
post review edit
JPryce-Aklundh Feb 25, 2025
4b4133b
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/do…
JPryce-Aklundh Feb 25, 2025
034101b
correction
JPryce-Aklundh Feb 26, 2025
b8a9d64
add links to ops manual privilege and update default value
JPryce-Aklundh Feb 26, 2025
66afae4
2025.03 to 2025.04
JPryce-Aklundh Mar 12, 2025
b4f0831
note attempt
JPryce-Aklundh Mar 12, 2025
2bf10cc
conflict fix
JPryce-Aklundh Mar 12, 2025
0dfb4b9
2025.05 update
JPryce-Aklundh Apr 3, 2025
6dc83e8
Merge branch 'cypher-25' into select_version
JPryce-Aklundh Apr 3, 2025
1c72599
merge cypher-25 branch
JPryce-Aklundh Apr 17, 2025
9b847b0
draft update of default language information
JPryce-Aklundh Apr 17, 2025
096d0d3
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/do…
JPryce-Aklundh Apr 17, 2025
40e019d
update
JPryce-Aklundh Apr 17, 2025
11b09df
remove inexplicable underscores
JPryce-Aklundh Apr 17, 2025
4e1bf7d
config setting underscores
JPryce-Aklundh Apr 17, 2025
d463f0d
rewrite
JPryce-Aklundh May 16, 2025
2de872d
restructure
JPryce-Aklundh May 19, 2025
63d64d4
emphasis
JPryce-Aklundh May 19, 2025
e5c3eef
spelling
JPryce-Aklundh May 26, 2025
ee37101
Merge branch 'dev' into select_version
stefano-ottolenghi Jun 17, 2025
57907c5
reword
JPryce-Aklundh Jun 23, 2025
6985f5c
Merge branch 'select_version'
JPryce-Aklundh Jun 23, 2025
1d4701d
query fix
JPryce-Aklundh Jun 23, 2025
cb1a5f0
proper role
JPryce-Aklundh Jun 23, 2025
0de4ff5
Merge branch 'dev' into select_version
JPryce-Aklundh Jun 23, 2025
ca45c21
final
JPryce-Aklundh Jun 23, 2025
1bdf52d
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/do…
JPryce-Aklundh Jun 23, 2025
5e533a9
Merge branch 'dev' into select_version
JPryce-Aklundh Jun 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
neo4j-version: '2025.05'
neo4j-version: '2025.06'
2 changes: 1 addition & 1 deletion modules/ROOT/pages/appendix/gql-conformance/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
= GQL conformance

*Last updated*: 4 March 2025 +
*Neo4j version*: 2025.05
*Neo4j version*: 2025.06

GQL is the new link:https://www.iso.org/home.html[ISO] International Standard query language for graph databases.

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/filter.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= FILTER
:description: Information about Cypher's `FILTER` clause.
:table-caption!:
:page-role: new-2025.05
:page-role: new-2025.06

`FILTER` is used to add filters to queries, similar to Cypher's xref:clauses/where.adoc[`WHERE`].
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.
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/clauses/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This set is refined and augmented by subsequent parts of the query.

m| xref::clauses/filter.adoc[FILTER]
| Adds filters to queries.
label:new[Introduced in Neo4j 2025.05]
label:new[Introduced in Neo4j 2025.06]

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

m| xref::clauses/let.adoc[LET]
| Binds values to variables.
label:new[Introduced in Neo4j 2025.05]
label:new[Introduced in Neo4j 2025.06]

m| xref::clauses/return.adoc[RETURN ... [AS]]
| Defines what to include in the query result set.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/let.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= LET
:description: Information about Cypher's `LET` clause.
:table-caption!:
:page-role: new-2025.05
:page-role: new-2025.06

`LET` binds expressions to variables.
For queries involving several chained expressions, it can be a more succinct and readable alternative to xref:clauses/with.adoc[`WITH`].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/load-csv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ In the file `companies.csv`, some rows do not specify values for some columns.
The examples show several options of how to handle `null` values.

[NOTE]
The queries in this example use xref:clauses/filter.adoc#filter-with-where[`FILTER`] (introduced in Neo4j 2025.05) as a replacement for `WITH * WHERE <predicate>`.
The queries in this example use xref:clauses/filter.adoc#filter-with-where[`FILTER`] (introduced in Neo4j 2025.06) as a replacement for `WITH * WHERE <predicate>`.

.companies.csv
[source, csv, filename="companies.csv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ This section lists all of the features that have been removed, deprecated, added
Replacement syntax for deprecated and removed features are also indicated.

[IMPORTANT]
Cypher 25 was introduced in Neo4j 2025.05 and can only be used on 2025.05+ databases.
Features removed in Cypher 25 are still available on Neo4j 2025.05+ databases either by prepending a query with `CYPHER 5` or by having Cypher 5 as the default language for the database.
For more information, see xref:queries/select-version.adoc[].
Cypher 25 was introduced in Neo4j 2025.06 and can only be used on Neo4j 2025.06+ databases.
Features removed in Cypher 25 are still available on Neo4j 2025.06+ databases either by prepending a query with `CYPHER 5` or by having Cypher 5 as the default language for the database.


[[cypher-deprecations-additions-removals-2025.05]]
== Neo4j 2025.05
[[cypher-deprecations-additions-removals-2025.06]]
== Neo4j 2025.06

=== Removed in Cypher 25
[cols="2", options="header"]
Expand Down
8 changes: 4 additions & 4 deletions modules/ROOT/pages/functions/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ All trigonometric functions operate on radians, unless otherwise specified.
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cosh[`cosh()`]
| `cosh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic cosine of a `FLOAT`.
label:new[Introduced in 2025.05]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cot[`cot()`]
| `cot(input :: FLOAT) :: FLOAT`
Expand All @@ -322,7 +322,7 @@ label:new[Introduced in 2025.05]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-coth[`coth()`]
| `coth(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic cotangent of a `FLOAT`.
label:new[Introduced in 2025.05]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-degrees[`degrees()`]
| `degrees(input :: FLOAT) :: FLOAT`
Expand All @@ -347,7 +347,7 @@ label:new[Introduced in 2025.05]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-sinh[`sinh()`]
| `sinh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic sine of a `FLOAT`.
label:new[Introduced in 2025.05]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tan[`tan()`]
| `tan(input :: FLOAT) :: FLOAT`
Expand All @@ -356,7 +356,7 @@ label:new[Introduced in 2025.05]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tanh[`tanh()`]
| `tanh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic tangent of a `FLOAT`.
label:new[Introduced in 2025.05]
label:new[Introduced in 2025.06]

|===

Expand Down
8 changes: 4 additions & 4 deletions modules/ROOT/pages/functions/mathematical-trigonometric.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The cosine of `0.5` is returned.

======

[role=label--new-2025.05]
[role=label--new-2025.06]
[[functions-cosh]]
== cosh()

Expand Down Expand Up @@ -327,7 +327,7 @@ The cotangent of `0.5` is returned.
======


[role=label--new-2025.05]
[role=label--new-2025.06]
[[functions-coth]]
== coth()

Expand Down Expand Up @@ -629,7 +629,7 @@ The sine of `0.5` is returned.
======


[role=label--new-2025.05]
[role=label--new-2025.06]
[[functions-sinh]]
== sinh()

Expand Down Expand Up @@ -723,7 +723,7 @@ The tangent of `0.5` is returned.



[role=label--new-2025.05]
[role=label--new-2025.06]
[[functions-tanh]]
== tanh()

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/patterns/shortest-paths.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CREATE (asc)-[:LINK {distance: 7.25}]->(cnm),
(wof)-[:LINK {distance: 0.65}]->(wos)
----

The paths matched by a xref:patterns/fixed-length-patterns.adoc#path-patterns[path pattern] can be restricted to only the shortest (by number of hops) by including the keyword `SHORTEST k`, where `k` is the number of paths to match, and can be either an `INTEGER` literal or, as of Neo4j 2025.05, a parameter which resolves to an `INTEGER`.
The paths matched by a xref:patterns/fixed-length-patterns.adoc#path-patterns[path pattern] can be restricted to only the shortest (by number of hops) by including the keyword `SHORTEST k`, where `k` is the number of paths to match, and can be either an `INTEGER` literal or, as of Neo4j 2025.06, a parameter which resolves to an `INTEGER`.
For example, the following example uses `SHORTEST 1` to return the length of the shortest path between `Worcester Shrub Hill` and `Bromsgrove`:

.Query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ORDER BY count

For more information, see xref:subqueries/call-subquery.adoc#call-post-union[`CALL` subqueries -> Post-union processing].

[role=label--new-2025.05]
[role=label--new-2025.06]
[[combining-union-and-union-all]]
== Combining UNION and UNION ALL

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Conditional queries (`WHEN`)
:description: Information about how to use `WHEN` to construct conditional queries in Cypher.
:page-role: new-2025.05
:page-role: new-2025.06

`WHEN`, together with `THEN` and `ELSE`, enables different branches of a query to execute based on certain conditions.
In this way, it performs similar a control-flow mechanism to the `IF` statement in other programming languages.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries/composed-queries/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ As such, `UNION` and `WHEN` manage in different ways the execution flow and logi
For more information, see:

* xref:queries/composed-queries/combined-queries.adoc[]
* xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.05]
* xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.06]
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ It also discusses how to compose combined queries using `UNION` and conditional
* xref:queries/select-version.adoc[]
* xref:queries/composed-queries/index.adoc[]
** xref:queries/composed-queries/combined-queries.adoc[]
** xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.05]
** xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.06]

52 changes: 26 additions & 26 deletions modules/ROOT/pages/queries/select-version.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Starting in 2025, the Neo4j server transitioned to a calendar-based versioning s
This means Neo4j will no longer use its previous semantic versioning and release pattern (e.g., 5.25, 5.26).
Instead, releases from 2025 onwards will follow a *YYYY.MM* format, beginning with version 2025.01 released in January 2025, followed by 2025.02 released in February 2025, and so on.

Cypher 25 is introduced alongside Neo4j 2025.05 and is the default language for newly created databases running version 2025.05 or later.
However, users running Neo4j version 2025.05 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
If so, Neo4j will use Cypher as it existed at the time of the Neo4j 5.26 long-term support (LTS) release.
Cypher 25 is introduced alongside Neo4j 2025.06.
However, users running Neo4j version 2025.06 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
If so, Neo4j will use Cypher as it existed at the time of the Neo4j **TBC** release.

[NOTE]
Databases migrating to Neo4j 2025.05+ from earlier versions will continue to use Cypher 5 as their default language.
To change the default language on such databases, see xref:queries/select-version.adoc#alter-default-cypher-version[Alter the default Cypher version for a database].
[IMPORTANT]
All new databases created after the release of 2025.06 will continue to use Cypher 5 as their default language.
To change the default language, see xref:queries/select-version.adoc#alter-default-cypher-version[Alter the default Cypher version for a database].
See also xref:queries/select-version.adoc#config-database-upgrades[Cypher versions, configuration settings, and DBMS upgrades] for information about what default Cypher version is used when upgrading a DBMS.

For information about updates to Cypher in different Neo4j versions, see xref:deprecations-additions-removals-compatibility.adoc[].
Expand All @@ -29,10 +29,10 @@ For information about Cypher 5, see the link:https://neo4j.com/docs/cypher-manua

To select the Cypher version of a query, prepend it with `CYPHER <language version>`.

Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 5.26 LTS release.
Any changes introduced after 5.26 will not affect the query.
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j **TBC** release.
Any changes introduced after the **TBC** release will not affect the query.

Selecting `CYPHER 25` ensures that the query will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.05 or later.
Selecting `CYPHER 25` ensures that the query will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.06 or later.

Below are two examples showing the two versions of Cypher behaving differently.

Expand Down Expand Up @@ -115,13 +115,13 @@ For example, if a database is created with Cypher 5 as its default language, pre
=== Procedures and functions

link:{neo4j-docs-base-uri}/operations-manual/current/procedures[Procedures] and xref:functions/index.adoc[functions] (including built-in and link:{neo4j-docs-base-uri}/apoc/current/[APOC]) are tied to a specific Cypher language version.
Therefore, procedures and functions in Neo4j 2025.05+ and APOC 2025.05+ (both of which have Cypher 25 as their default language) may behave differently depending on what version of Cypher is used.
Therefore, procedures and functions in Neo4j 2025.06+ and APOC 2025.06+ (both of which have Cypher 5 as their default language) may behave differently depending on what version of Cypher is used.

For example, APOC 2025.05 removed Cypher 25 support of the procedure `apoc.create.uuids()`, meaning it is not available to queries running Cypher 25.
However, it can still be used on APOC 2025.05 if queries are prepended with `CYPHER 5`, or if the database’s default version is set to `CYPHER 5`.
In this case, Neo4j will use APOC and Cypher as they existed at the time of the 5.26 LTS release.
For example, APOC 2025.06 removed Cypher 25 support of the procedure `apoc.create.uuids()`, meaning it is not available to queries running Cypher 25.
However, it can still be used on APOC 2025.06 if queries are prepended with `CYPHER 5`, or if the database’s default version is set to `CYPHER 5`.
In this case, Neo4j will use APOC and Cypher as they existed at the time of the **TBC** release.

.Using a procedure removed in Cypher 25 with APOC 2025.05+
.Using a procedure removed in Cypher 25 with APOC 2025.06+
[source, cypher]
----
CYPHER 5
Expand All @@ -145,22 +145,22 @@ RETURN n.name
[[select-default-cypher-version]]
== Select the default Cypher version when creating a database

Databases created on Neo4j 2025.05 or later will have Cypher 25 as their default language (if {neo4j-docs-base-uri}/operations-manual/current/configuration/configuration-settings/#config_db.query.default_language[`config_db.query.default_language`] is set to `CYPHER_25` -- see xref:queries/select-version.adoc#config-database-upgrades[Cypher versions, configuration settings, and DBMS upgrades] below).
This is true for the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/#manage-database-systems[system, standard, and composite] Neo4j databases.
Databases created on Neo4j 2025.06 or later will continue to have Cypher 5 as their default language (if {neo4j-docs-base-uri}/operations-manual/current/configuration/configuration-settings/#config_db.query.default_language[`config_db.query.default_language`] is set to `CYPHER 5` -- see xref:queries/select-version.adoc#config-database-upgrades[Cypher versions, configuration settings, and DBMS upgrades] below).
This is true for link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/#manage-database-systems[system, standard, and composite] Neo4j databases.

To select a different default Cypher version for a database, add `DEFAULT LANGUAGE <language version>` to the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/create-databases/[`CREATE DATABASE`] statement.
This can be done on any Neo4j database.

Selecting `CYPHER 5` as the default database language ensures that every query run on that database uses the language as it existed at the time of the Neo4j 5.26 LTS release (unless a query is prepended with `CYPHER 25`, which overrides this default).
Any changes introduced after 5.26 will not affect the semantics of the query.
Selecting `CYPHER 5` as the default database language ensures that every query run on that database uses the language as it existed at the time of the Neo4j **TBC** release (unless a query is prepended with `CYPHER 25`, which overrides this default).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this bit seems more odd when considering CYPHER 5 is the default, it feels more like it's pointing out a difference to the default (probably due to being added to do just that before :P)

Any changes introduced after the **TBC** release will not affect the semantics of the query.

.Create a database with Cypher 5 as the default language
[source, cypher]
----
CREATE DATABASE my_database DEFAULT LANGUAGE CYPHER 5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have linked back to these sections from the operations manual documentation of these commands. There doesn't seem much point documenting it twice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all sections related to database administration should go to the Operations manual, and here, we can add just one link.

----

Selecting `CYPHER 25` ensures that the query will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.05 or later (unless a query is prepended with `CYPHER 5`, which overrides this default).
Selecting `CYPHER 25` ensures that the query will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.06 or later (unless a query is prepended with `CYPHER 5`, which overrides this default).

.Create a database with Cypher 25 as the default language
[source, cypher]
Expand Down Expand Up @@ -230,22 +230,22 @@ The table below outlines which Cypher version is assigned to databases in differ
|===
| Scenario | `db.query.default_language` | Databases

| *Standard DBMS upgrade to Neo4j 2025.05+*
| *Standard DBMS upgrade to Neo4j 2025.06+*
| Unset
| *Existing system database:* `CYPHER 5` +
*Existing user databases:* `CYPHER 5` +
*New user databases default:* `CYPHER 5`

| *Custom DBMS upgrade to Neo4j 2025.05+*
| Manually set to `CYPHER_25` by administrator
| *Custom DBMS upgrade to Neo4j 2025.06+*
| Manually set to `CYPHER 25` by administrator
| *Existing system database:* `CYPHER 5` +
*Existing user databases:* `CYPHER 5` +
*New user databases default:* `CYPHER 25`

| *New installation of Neo4j 2025.05+*
| Set to `CYPHER_25`
| *New system database:* `CYPHER 25` +
*New user databases default:* `CYPHER 25`
| *New installation of Neo4j 2025.06+*
| Set to `CYPHER 5`
| *New system database:* `CYPHER 5` +
*New user databases default:* `CYPHER 5`

|===

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/call-subquery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Now all `Player` nodes, regardless of whether they have any `PLAYS_FOR` relation

====

[role=label--new-2025.05]
[role=label--new-2025.06]
[[conditional-call]]
== Conditional `CALL` subqueries

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/collect.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ RETURN person.name as name, COLLECT {
2+d|Rows: 3
|===

[role=label--new-2025.05]
[role=label--new-2025.06]
[[conditional-collect]]
== Conditional `COLLECT` subquery

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/count.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RETURN person.name AS name
1+d|Rows: 1
|===

[role=label--new-2025.05]
[role=label--new-2025.06]
[[conditional-count]]
== Conditional `COUNT` subquery

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/existential.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RETURN person.name AS name
1+d|Rows: 1
|===

[role=label--new-2025.05]
[role=label--new-2025.06]
[[conditional-exists]]
== Conditional `EXISTS` subqueries

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,7 @@ RETURN status.transactionId AS transaction, status.committed AS commitStatus, st
These are transient errors, meaning that re-running the transactions may be successful.
To retry the any failed inner transactions, use the error option `ON ERROR RETRY`, which retries any failing transactions until the maximum retry duration has been reached.

[NOTE]
The query below uses xref:clauses/filter.adoc#filter-with-where[`FILTER`] (introduced in Neo4j 2025.05) as a replacement for `WITH * WHERE <predicate>`.
The following query uses `ON ERROR RETRY ... THEN CONTINUE` to retry the above query for a maximum of `3` seconds and then continue the execution of subsequent inner transactions by ignoring any recoverable errors.

.Query using `ON ERROR RETRY ... THEN CONTINUE` to retry deadlocked inner transactions and complete outer transaction
[source, cypher]
Expand Down