Skip to content

Commit 1d4701d

Browse files
query fix
1 parent 6985f5c commit 1d4701d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

modules/ROOT/pages/queries/select-version.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ In the releases following Neo4j 2026.06, features will only be added to Cypher 2
2121
*Any new Cypher features introduced in Neo4j 2025.06 or later will be exclusively added to Cypher 25.*
2222

2323
Users running Neo4j version 2025.06 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
24-
If so, Neo4j will use Cypher as it existed at the time of the Neo4j 2025.05 release, the release in which Cypher 5 was frozen.
25-
*No new features will be added to Cypher 5* (only performance enhancements and eventual bug fixes may be included in server releases following Neo4j 2025.05).
24+
If so, Neo4j will use Cypher 5 as it existed at the time of the Neo4j 2025.06 release (the release in which Cypher 5 was frozen).
25+
*No new features will be added to Cypher 5* (only performance enhancements and eventual bug fixes may be included in server releases following Neo4j 2025.06).
2626
For information about Cypher 5, see the link:https://neo4j.com/docs/cypher-manual/5/introduction/[Cypher 5 Manual].
2727

2828
[NOTE]
@@ -49,7 +49,7 @@ Setting the default language requires the link:{neo4j-docs-base-uri}/operations-
4949
.Cypher 25
5050
[source,cypher]
5151
----
52-
CREATE DATABASE my_new_database DEFAULT LANGUAGE CYPHER 25
52+
CREATE DATABASE actors DEFAULT LANGUAGE CYPHER 25
5353
----
5454

5555
======
@@ -60,7 +60,7 @@ CREATE DATABASE my_new_database DEFAULT LANGUAGE CYPHER 25
6060
.Cypher 5
6161
[source,cypher]
6262
----
63-
CREATE DATABASE my_database DEFAULT LANGUAGE CYPHER 5
63+
CREATE DATABASE movies DEFAULT LANGUAGE CYPHER 5
6464
----
6565

6666
======
@@ -80,7 +80,7 @@ Altering the default language requires the link:{neo4j-docs-base-uri}/operations
8080
.Cypher 25
8181
[source,cypher]
8282
----
83-
ALTER DATABASE my_database SET DEFAULT LANGUAGE CYPHER 25
83+
ALTER DATABASE movies SET DEFAULT LANGUAGE CYPHER 25
8484
----
8585

8686
======
@@ -91,16 +91,16 @@ ALTER DATABASE my_database SET DEFAULT LANGUAGE CYPHER 25
9191
.Cypher 5
9292
[source,cypher]
9393
----
94-
ALTER DATABASE my_new_database SET DEFAULT LANGUAGE CYPHER 5
94+
ALTER DATABASE actors SET DEFAULT LANGUAGE CYPHER 5
9595
----
9696

9797
======
9898
=====
9999

100100
Selecting `CYPHER 25` ensures that all queries run on that database 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 xref:selection-query-cypher-version[`CYPHER 5`], which overrides this default).
101101

102-
Selecting `CYPHER 5` as the default database language ensures that all queries run on that database uses the language as it existed at the time of the Neo4j 2025.05 release (unless a query is prepended with xref:selection-query-cypher-version[`CYPHER 25`], which overrides this default).
103-
Any changes introduced after the 2025.05 release will not affect the semantics of the query.
102+
Selecting `CYPHER 5` as the default database language ensures that all queries run on that database uses the language as it existed at the time of the Neo4j 2025.06 release (unless a query is prepended with xref:selection-query-cypher-version[`CYPHER 25`], which overrides this default).
103+
Any changes introduced after the 2025.06 release will not affect the semantics of the query.
104104

105105
For information about how to set a default language for local and remote database aliases, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/[The Operations Manual -> Managing database aliases for standard databases] and link:{neo4j-docs-base-uri}/operations-manual/current/database-administration//aliases/manage-aliases-composite-databases/[Managing database aliases in composite databases].
106106

@@ -208,8 +208,8 @@ SET n = r
208208

209209
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.
210210

211-
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 2025.05 release.
212-
Any changes introduced after the 2025.05 release will not affect the query.
211+
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 2025.06 release.
212+
Any changes introduced after the 2025.06 release will not affect the query.
213213

214214
[[procedures-and-functions]]
215215
=== Procedures and functions
@@ -219,7 +219,7 @@ Therefore, procedures and functions in Neo4j 2025.06+ and APOC 2025.06+ (both of
219219

220220
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.
221221
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`.
222-
In this case, Neo4j will use APOC and Cypher as they existed at the time of the 2025.05 release.
222+
In this case, Neo4j will use APOC and Cypher 5 as they existed at the time of the 2025.06 release.
223223

224224
.Using a procedure removed in Cypher 25 with APOC 2025.06+
225225
[source, cypher]

0 commit comments

Comments
 (0)