Skip to content

Commit 48599a6

Browse files
authored
Update link to composite databases (#1413) (#1414)
1 parent 2679b3c commit 48599a6

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

modules/ROOT/pages/clauses/use.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Targeting multiple databases is not allowed, unless connected to a composite dat
3636
When connected to a non-composite database, the `USE` clause can only appear as the prefix of schema commands, or as the first clause of queries. There may be multiple `USE` clauses as long as they target the same database.
3737

3838
== USE clause when connected to a composite database
39-
When executing queries against a link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite database], the `USE` clause must only refer to graphs that are part of the current composite database. The constituents can be listed either with `RETURN graph.names()` when connected to the composite database or `SHOW DATABASES YIELD name, constituents RETURN *`.
39+
When executing queries against a link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite database], the `USE` clause must only refer to graphs that are part of the current composite database. The constituents can be listed either with `RETURN graph.names()` when connected to the composite database or `SHOW DATABASES YIELD name, constituents RETURN *`.
4040

4141
=== Position of use clauses
4242
When running queries against a composite database, the `USE` clause can appear as the first clause of:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ If not specified, the default language for the database is set to the default la
598598
For more information, see the following sections in the Operations Manual:
599599

600600
* 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].
601-
* 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].
601+
* link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/create-composite-databases/#composite-databases-default-language[Set the default Cypher version for a composite database].
602602

603603
a|
604604
label:functionality[]
@@ -1363,7 +1363,7 @@ DROP [COMPOSITE] DATABASE ... [RESTRICT \| CASCADE ALIAS[ES]]
13631363

13641364
| Added the ability to drop database aliases while deleting a database.
13651365
This will affect local database aliases targeting the database and constituent database aliases belonging to the composite database.
1366-
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/delete-databases/#delete-databases-with-aliases[Delete a database with local database aliases targeting it] and link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/delete-composite-databases/#composite-databases-delete-with-aliases[Delete a composite database with constituent database aliases].
1366+
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/delete-databases/#delete-databases-with-aliases[Delete a database with local database aliases targeting it] and link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/delete-composite-databases/#composite-databases-delete-with-aliases[Delete a composite database with constituent database aliases].
13671367

13681368
a|
13691369
label:functionality[]

modules/ROOT/pages/functions/graph.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
.Considerations
1818
|===
19-
| `graph.names()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
19+
| `graph.names()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite databases].
2020
|===
2121

2222
.+graph.names()+
@@ -71,7 +71,7 @@ The names of all graphs on the current composite database are returned.
7171

7272
.Considerations
7373
|===
74-
| `graph.propertiesByName()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
74+
| `graph.propertiesByName()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite databases].
7575
| The properties in the returned `MAP` are set on the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/[alias]that adds the graph as a constituent of a composite database.
7676
|===
7777

modules/ROOT/pages/functions/scalar.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ It is therefore recommended to use application-generated IDs instead.
383383

384384
[NOTE]
385385
====
386-
On a link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite database], the `id()` function should be used with caution.
387-
It is recommended to use xref:functions/scalar.adoc#functions-elementid[`elementId()`] instead.
386+
On a link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite database], the `id()` function should be used with caution.
387+
It is recommended to use xref:functions/scalar.adoc#functions-elementid[`elementId()`] instead.
388388
389389
When called in database-specific subqueries, the resulting ID value for a node or relationship is local to that database.
390390
The local ID for nodes or relationships from different databases may be the same.

modules/ROOT/pages/introduction/cypher-neo4j.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Normally there is only one graph within each database, and many administrative c
7474
Cypher queries executed in a session may declare which graph they apply to, or use a default, given by the session.
7575
Composite databases can contain multiple graphs, by means of aliases to other databases.
7676
Queries submitted to composite databases may refer to multiple graphs within the same query.
77-
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[Operations manual -> Composite databases].
77+
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[Operations manual -> Composite databases].
7878

7979
*Database*:: A database is a storage and retrieval mechanism for collecting data in a defined space on disk and in memory.
8080

modules/ROOT/pages/queries/select-version.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ For more information about how to change and view the default language of new an
100100

101101
* link:{neo4j-docs-base-uri}/operations-manual/current/configuration/cypher-version-configuration/[Configure the Cypher default version]
102102
* 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]
103-
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/create-composite-databases/#composite-databases-default-language[Set a default Cypher version for a composite database]
103+
* link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/create-composite-databases/#composite-databases-default-language[Set a default Cypher version for a composite database]
104104
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#set-default-language-for-remote-database-aliases[Set a default Cypher version for remote database aliases]
105105
* 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]
106-
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/alter-composite-databases/#alter-default-language-composite-database[Alter the default Cypher version of a composite database]
106+
* link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/alter-composite-databases/#alter-default-language-composite-database[Alter the default Cypher version of a composite database]
107107
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/#alter-default-language-remote-database-alias[Alter the default Cypher version of a remote database alias]
108108
* link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/listing-databases/#_show_the_default_cypher_version_of_a_database[Show the default Cypher version of a database]
109109
* link:{neo4j-docs-base-uri}/operations-manual/current/authentication-authorization/dbms-administration/#_grant_privilege_to_modify_the_default_language_of_standard_databases[Grant privilege to modify the default language of standard databases]
@@ -122,7 +122,7 @@ The following example demonstrates how a query that works in Cypher 5 can be rew
122122
.Original Cypher 5 query
123123
[source, cypher, role=test-skip]
124124
----
125-
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
125+
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
126126
SET n = r
127127
----
128128

@@ -170,7 +170,7 @@ SET n = properties(r)
170170
[source,cypher]
171171
----
172172
CYPHER 5
173-
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
173+
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
174174
SET n = r
175175
----
176176
// end::queries_select_version_cypher_5[]

modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ For larger data sets, you might want to use larger batch sizes, such as `10000 R
220220
[[composite-databases]]
221221
== Composite databases
222222

223-
`CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
223+
`CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite databases].
224224

225225
Even though composite databases allow accessing multiple graphs in a single query, only one graph can be modified in a single transaction.
226226
`CALL { ... } IN TRANSACTIONS` offers a way of constructing queries which modify multiple graphs.
@@ -431,7 +431,7 @@ RETURN n.num
431431
1+d|Rows: 4
432432
|===
433433
434-
In this case, the first inner transaction includes `i = 1` and `i = 0`.
434+
In this case, the first inner transaction includes `i = 1` and `i = 0`.
435435
Since `i = 0` causes an error, the entire transaction is rolled back, resulting in `null` for both elements.
436436
437437
=====
@@ -519,7 +519,7 @@ RETURN n.num
519519
520520
In the following example, `ON ERROR FAIL` is used after the failed inner transaction to prevent the remaining inner transactions from executing and to cause the outer transaction to fail as well.
521521
522-
.Transactions batched in 1 row with `ON ERROR FAIL`
522+
.Transactions batched in 1 row with `ON ERROR FAIL`
523523
[source, cypher, role=test-fail]
524524
----
525525
UNWIND [1, 0, 2, 4] AS i

modules/ROOT/pages/values-and-types/graph-references.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A static graph reference is a direct reference to a graph in a database.
1616
These include:
1717

1818
* Database and alias names when managing link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/[databases and aliases]: `CREATE DATABASE <symbolic-name>`.
19-
* Database and alias names when selecting a graph with the `USE` clause: `USE <symbolic-name>` or `USE <symbolic-name>.<symbolic-name>` (for constituents of a link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases]).
19+
* Database and alias names when selecting a graph with the `USE` clause: `USE <symbolic-name>` or `USE <symbolic-name>.<symbolic-name>` (for constituents of a link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite databases]).
2020

2121
[[dynamic-graph-references]]
2222
== Dynamic graph references

0 commit comments

Comments
 (0)