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/deprecations-additions-removals-compatibility.adoc
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,15 +297,15 @@ label:new[]
297
297
298
298
[source, cypher, role="noheader"]
299
299
----
300
-
CREATE [COMPOSITE] DATABASE actors DEFAULT LANGUAGE CYPHER 25
300
+
CREATE [COMPOSITE] DATABASE actors SET DEFAULT LANGUAGE CYPHER 25
301
301
----
302
302
303
303
a| Set the default Cypher version for a standard or composite database when creating it.
304
304
The available versions are `CYPHER 25` and `CYPHER 5`.
305
305
If not specified, the default language for the database is set to the default language of the DBMS.
306
306
For more information, see the following sections in the Operations Manual:
307
307
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].
309
309
* 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].
310
310
311
311
a|
@@ -314,16 +314,17 @@ label:new[]
314
314
315
315
[source, cypher, role="noheader"]
316
316
----
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
322
323
----
323
324
324
325
a| Set the default Cypher version for a remote database alias when creating it.
325
326
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.
327
328
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].
328
329
329
330
a|
@@ -336,7 +337,7 @@ ALTER DATABASE movies SET DEFAULT LANGUAGE CYPHER 25
336
337
337
338
a| Alter the default Cypher version of an existing standard or composite database.
338
339
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].
340
341
341
342
a|
342
343
label:functionality[]
@@ -349,8 +350,8 @@ ALTER ALIAS `remote-with-default-language` SET DATABASE DEFAULT LANGUAGE CYPHER
349
350
350
351
a| Alter the default Cypher version of a remote database alias.
351
352
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].
354
355
355
356
a|
356
357
label:functionality[]
@@ -362,6 +363,7 @@ SHOW DATABASES YIELD name, defaultLanguage
362
363
----
363
364
364
365
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`.
365
367
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].
366
368
367
369
a|
@@ -374,7 +376,8 @@ SHOW ALIAS `remote-with-default-language` FOR DATABASE YIELD name, defaultLangua
374
376
----
375
377
376
378
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].
0 commit comments