Skip to content

Commit d2e13bf

Browse files
committed
Add a note about DEFAULT LANGUAGE
1 parent 3622eb0 commit d2e13bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ See xref:database-internals/store-formats.adoc[Store formats], for more details
4848
[source, syntax, role="noheader"]
4949
----
5050
CREATE DATABASE name [IF NOT EXISTS]
51+
[DEFAULT LANGUAGE CYPHER {5\|25}]
5152
[TOPOLOGY n PRIMAR{Y\|IES} [m SECONDAR{Y\|IES}]]
5253
[OPTIONS "{" option: value[, ...] "}"]
5354
[WAIT [n [SEC[OND[S]]]]\|NOWAIT]
@@ -56,6 +57,7 @@ CREATE DATABASE name [IF NOT EXISTS]
5657
[source, syntax, role="noheader"]
5758
----
5859
CREATE OR REPLACE DATABASE name
60+
[DEFAULT LANGUAGE CYPHER {5\|25}]
5961
[TOPOLOGY n PRIMAR{Y\|IES} [m SECONDAR{Y\|IES}]]
6062
[OPTIONS "{" option: value[, ...] "}"]
6163
[WAIT [n [SEC[OND[S]]]]\|NOWAIT]
@@ -314,6 +316,9 @@ The behavior of `IF NOT EXISTS` and `OR REPLACE` apply to both standard and comp
314316
The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used together.
315317
====
316318

319+
==== Create databases with `DEFAULT LANGUAGE`
320+
The `CREATE DATABASE` command can be used to set the default Cypher version when creating a database.
321+
For more information see link:{neo4j-docs-base-uri}/cypher-manual/current/queries/select-version/#select-default-cypher-version[Cypher Manual -> Queries -> Select Cypher version].
317322

318323
[[manage-databases-start]]
319324
== Start databases

0 commit comments

Comments
 (0)