Skip to content

Commit 932b19e

Browse files
post-review edit
1 parent 30c0074 commit 932b19e

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -297,15 +297,15 @@ label:new[]
297297

298298
[source, cypher, role="noheader"]
299299
----
300-
CREATE [COMPOSITE] DATABASE actors DEFAULT LANGUAGE CYPHER 25
300+
CREATE [COMPOSITE] DATABASE actors SET DEFAULT LANGUAGE CYPHER 25
301301
----
302302

303303
a| Set the default Cypher version for a standard or composite database when creating it.
304304
The available versions are `CYPHER 25` and `CYPHER 5`.
305305
If not specified, the default language for the database is set to the default language of the DBMS.
306306
For more information, see the following sections in the Operations Manual:
307307

308-
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/create-databases/#_create_a_database_with_default_language[Create a database with a `DEFAULT LANGUAGE`].
308+
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/create-databases/#_set_a_default_cypher_version_for_a_standard_database[Set a default Cypher version for a standard database].
309309
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/create-composite-databases/#composite-databases-default-language[Set the default Cypher version for a composite database].
310310

311311
a|
@@ -314,16 +314,17 @@ label:new[]
314314

315315
[source, cypher, role="noheader"]
316316
----
317-
CREATE ALIAS `remote-with-default-language` FOR DATABASE `northwind-graph-2020`
318-
AT "neo4j+s://location:7687"
319-
USER alice
320-
PASSWORD 'example_secret'
321-
DEFAULT LANGUAGE CYPHER 25
317+
CREATE ALIAS `remote-with-default-language`
318+
FOR DATABASE `northwind-graph-2020`
319+
AT "neo4j+s://location:7687"
320+
USER alice
321+
PASSWORD 'example_secret'
322+
DEFAULT LANGUAGE CYPHER 25
322323
----
323324

324325
a| Set the default Cypher version for a remote database alias when creating it.
325326
The available versions are `CYPHER 5` and `CYPHER 25`.
326-
Local database aliases cannot be assigned a default Cypher version; they always have the Cypher version of their target database.
327+
Local database aliases and database aliases of composite databases cannot be assigned a default Cypher version; they always have the Cypher version of their target database.
327328
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#_set_a_default_cypher_version_for_remote_database_aliases[Operations Manual -> Set a default Cypher version for remote database aliases].
328329

329330
a|
@@ -336,7 +337,7 @@ ALTER DATABASE movies SET DEFAULT LANGUAGE CYPHER 25
336337

337338
a| Alter the default Cypher version of an existing standard or composite database.
338339
The available versions are `CYPHER 25` and `CYPHER 5`.
339-
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/alter-databases/#alter-database-default-language[Operations Manual -> Alter database default language].
340+
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/alter-databases/#alter-database-default-language[Alter the default Cypher version of an existing database].
340341

341342
a|
342343
label:functionality[]
@@ -349,8 +350,8 @@ ALTER ALIAS `remote-with-default-language` SET DATABASE DEFAULT LANGUAGE CYPHER
349350

350351
a| Alter the default Cypher version of a remote database alias.
351352
The available versions are `CYPHER 25` and `CYPHER 5`.
352-
It is not possible to alter the default language of a local database alias; they always have the default language of their target database.
353-
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#_alter_the_default_cypher_version_of_a_remote_database_alias[Operations Manual -> Alter the default Cypher version of a remote database alias].
353+
It is not possible to alter the default language of a local database alias or an alias of a composite database; they always have the default language of their target database.
354+
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#alter-default-language-remote-database-alias[Operations Manual -> Alter the default Cypher version of a remote database alias].
354355

355356
a|
356357
label:functionality[]
@@ -362,6 +363,7 @@ SHOW DATABASES YIELD name, defaultLanguage
362363
----
363364

364365
a| The new return column `defaultLanguage` for the `SHOW DATABASE` command returns the default language of a database.
366+
This column is not returned by default; it can only be returned using `YIELD`.
365367
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/listing-databases/#_show_the_default_cypher_version_of_a_database[Operations Manual -> Show the default Cypher version of a database].
366368

367369
a|
@@ -374,7 +376,8 @@ SHOW ALIAS `remote-with-default-language` FOR DATABASE YIELD name, defaultLangua
374376
----
375377

376378
a| The new return column `defaultLanguage` for the `SHOW ALIAS` command returns the default language of a database alias.
377-
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/listing-databases/#_show_the_default_cypher_version_of_a_database[Operations Manual -> Show the default Cypher version of a database].
379+
This column is not returned by default; it can only be returned using `YIELD`.
380+
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#manage-aliases-list[Operations Manual -> List database aliases].
378381

379382
a|
380383
label:functionality[]

0 commit comments

Comments
 (0)