Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 modules/ROOT/pages/queries/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It also explains how to select the version of Cypher in which queries are run, a

* xref:queries/concepts.adoc[]
* xref:queries/basic.adoc[]
* xref:queries/select-version.adoc[]
* xref:queries/select-version.adoc[] label:new[Introduced in Neo4j 2025.06]
* 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.06]
Expand Down
5 changes: 3 additions & 2 deletions modules/ROOT/pages/queries/select-version.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:description: Information about how to select Cypher version for queries or databases.
:page-role: new-2025.06

= Select Cypher version

Expand Down Expand Up @@ -98,9 +99,9 @@ ALTER DATABASE actors SET DEFAULT LANGUAGE CYPHER 5
======
=====

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).
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).

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).
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).
Any changes introduced after the 2025.06 release will not affect the semantics of the query.

[[config-database-upgrades]]
Expand Down