You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ See xref:database-internals/store-formats.adoc[Store formats], for more details
48
48
[source, syntax, role="noheader"]
49
49
----
50
50
CREATE DATABASE name [IF NOT EXISTS]
51
+
[DEFAULT LANGUAGE CYPHER {5\|25}]
51
52
[TOPOLOGY n PRIMAR{Y\|IES} [m SECONDAR{Y\|IES}]]
52
53
[OPTIONS "{" option: value[, ...] "}"]
53
54
[WAIT [n [SEC[OND[S]]]]\|NOWAIT]
@@ -56,6 +57,7 @@ CREATE DATABASE name [IF NOT EXISTS]
56
57
[source, syntax, role="noheader"]
57
58
----
58
59
CREATE OR REPLACE DATABASE name
60
+
[DEFAULT LANGUAGE CYPHER {5\|25}]
59
61
[TOPOLOGY n PRIMAR{Y\|IES} [m SECONDAR{Y\|IES}]]
60
62
[OPTIONS "{" option: value[, ...] "}"]
61
63
[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
314
316
The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used together.
315
317
====
316
318
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].
0 commit comments