Skip to content

Commit 4b4133b

Browse files
Merge branch 'select_version' of https://github.com/JPryce-Aklundh/docs-cypher into select_version
2 parents 8d44f62 + 7be498c commit 4b4133b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SET n = r
5353
[source, cypher]
5454
----
5555
CYPHER 25
56-
MATCH (n:Order)-[r:SHIPPED_TO]->(m:Address)
56+
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
5757
SET n = properties(r)
5858
----
5959
======
@@ -115,7 +115,7 @@ For example, if a database is created with Cypher 5 as its default language, pre
115115
=== Procedures and functions
116116

117117
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.
118-
Therefore, procedures and functions in Neo4j 2025.03+ and APOC 2025.03+ (both of which have Cypher 25 as their default language), may behave differently depending on what version of Cypher is used.
118+
Therefore, procedures and functions in Neo4j 2025.03+ and APOC 2025.03+ (both of which have Cypher 25 as their default language) may behave differently depending on what version of Cypher is used.
119119

120120
For example, APOC 2025.03 removed Cypher 25 support of the procedure `apoc.create.uuids()`, meaning it is not available to queries running Cypher 25.
121121
However, it can still be used on APOC 2025.03 if queries are prepended with `CYPHER 5`, or if the database’s default version is set to `CYPHER 5`.
@@ -193,7 +193,7 @@ ALTER DATABASE my_database SET DEFAULT LANGUAGE CYPHER 25
193193

194194
The Cypher version of a database can be seen using the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/listing-databases/[`SHOW DATABASES`] command as follows:
195195

196-
.Set Cypher 25 as the default language on an existing database
196+
.Retrieve the default language on existing databases
197197
[source, cypher]
198198
----
199199
SHOW DATABASES YIELD name, defaultLanguage

0 commit comments

Comments
 (0)