Alter composite databases
You can modify composite databases using the Cypher command ALTER DATABASE
.
Syntax
Command | Syntax |
---|---|
|
|
Alter the default Cypher version of a composite database
You can change the default Cypher version of an existing composite database using the ALTER DATABASE
command with the SET DEFAULT LANGUAGE
clause.
For example:
ALTER DATABASE inventory SET DEFAULT LANGUAGE CYPHER 25
This command will change the default Cypher version of the composite database inventory
to Cypher 25.
To view the default Cypher version of each database in the DBMS, run the command SHOW DATABASES
with the YIELD
clause and specify the defaultLanguage
column.
For example:
SHOW DATABASES YIELD name, defaultLanguage
name | defaultLanguage |
---|---|
|
|
|
|
|
|
|
|
|
|
Rows: 5 |
Setting the default language to |