Skip to content

Commit c8c66be

Browse files
minor fix to select version (#1331)
1 parent d890303 commit c8c66be

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

modules/ROOT/pages/queries/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It also explains how to select the version of Cypher in which queries are run, a
66

77
* xref:queries/concepts.adoc[]
88
* xref:queries/basic.adoc[]
9-
* xref:queries/select-version.adoc[]
9+
* xref:queries/select-version.adoc[] label:new[Introduced in Neo4j 2025.06]
1010
* xref:queries/composed-queries/index.adoc[]
1111
** xref:queries/composed-queries/combined-queries.adoc[]
1212
** xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.06]

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:description: Information about how to select Cypher version for queries or databases.
2+
:page-role: new-2025.06
23

34
= Select Cypher version
45

@@ -98,9 +99,9 @@ ALTER DATABASE actors SET DEFAULT LANGUAGE CYPHER 5
9899
======
99100
=====
100101

101-
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).
102+
Selecting `CYPHER 25` ensures that all queries run on that database will be executed using Cypher 25 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).
102103

103-
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).
104+
Selecting `CYPHER 5` as the default database language ensures that all queries run on that database uses Cypher 5 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).
104105
Any changes introduced after the 2025.06 release will not affect the semantics of the query.
105106

106107
[[config-database-upgrades]]

0 commit comments

Comments
 (0)