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/composite-databases/create-composite-databases.adoc
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,18 @@ The behavior of `IF NOT EXISTS` and `OR REPLACE` apply to both standard and comp
93
93
The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used together.
94
94
====
95
95
96
+
[[composite-databases-default-language]]
97
+
=== Create composite databases with `DEFAULT LANGUAGE`
98
+
The `CREATE COMPOSITE DATABASE` command can be used to set the default Cypher version when creating a composite database.
99
+
100
+
.Query
101
+
[source, cypher]
102
+
----
103
+
CREATE COMPOSITE DATABASE inventory DEFAULT LANGUAGE CYPHER 5
104
+
----
105
+
106
+
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].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/database-administration/standard-databases/alter-databases.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
:description: how to modify standard databases in Neo4j using the Cypher command `ALTER DATABASE`.
2
-
[role=enterprise-edition not-on-aura]
3
2
[[administration-databases-alter-database]]
4
3
= Alter databases
5
4
@@ -38,6 +37,7 @@ There can be multiple `SET OPTION` or `REMOVE OPTION` clauses for different opti
38
37
====
39
38
|===
40
39
40
+
[role=enterprise-edition not-on-aura]
41
41
[[manage-databases-alter]]
42
42
== Alter database access mode
43
43
@@ -102,11 +102,13 @@ SET ACCESS READ WRITE
102
102
The `ALTER DATABASE` command can be used to set the default Cypher version for a database.
103
103
For more information see link:{neo4j-docs-base-uri}/cypher-manual/current/queries/select-version/#alter-default-cypher-version[Cypher Manual -> Queries -> Select Cypher version].
104
104
105
+
[role=enterprise-edition not-on-aura]
105
106
== Alter database topology
106
107
107
108
In a cluster environment, you can use the `ALTER DATABASE` command to change the number of servers hosting a database.
108
109
For more information, see xref::clustering/databases.adoc#alter-topology[Managing databases in a cluster].
The default query language version used for newly created databases where not specified as part of `CREATE` or `ALTER` database. This will also be used for `system` and `neo4j` databases when a new DBMS is started.
0 commit comments