Skip to content

Commit b4cb008

Browse files
authored
Update links to composite databases (#1415)
1 parent 93d1a55 commit b4cb008

File tree

7 files changed

+34
-34
lines changed

7 files changed

+34
-34
lines changed

modules/ROOT/pages/clauses/use.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Where `<graph>` refers to the name or alias of a database in the DBMS.
2424
[[query-use-syntax-composite]]
2525
=== Composite database syntax
2626

27-
When running queries against a link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite database], the `USE` clause can also appear as the first clause of:
27+
When running queries against a link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite database], the `USE` clause can also appear as the first clause of:
2828

2929
* Union parts:
3030
+

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For more information, see:
3838
| Feature
3939
| Details
4040

41-
a|
41+
a|
4242
label:functionality[]
4343
label:new[]
4444

@@ -63,7 +63,7 @@ label:functionality[]
6363
label:updated[]
6464
[source, cypher]
6565
----
66-
PROFILE
66+
PROFILE
6767
WITH "Person" AS label
6868
MATCH (people:$(label))
6969
RETURN people.name
@@ -129,7 +129,7 @@ If not specified, the default language for the database is set to the default la
129129
For more information, see the following sections in the Operations Manual:
130130

131131
* 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].
132-
* 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].
132+
* 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].
133133

134134
a|
135135
label:functionality[]
@@ -386,7 +386,7 @@ CASE x ... WHEN contains - 1 THEN ... END
386386
a| Using a variable named `contains` (or any casing variant, like `CONTAINS`) in addition or subtraction operations within a `WHEN` operand of a xref:expressions/conditional-expressions.adoc#case-simple[simple `CASE`] expression is deprecated.
387387
To continue using variables with this name, use backticks to quote the variable name:
388388

389-
* Additions: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END`
389+
* Additions: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END`
390390
* Subtractions: `CASE x ... WHEN ++`contains`++ - 1 THEN ... END`
391391

392392
a|
@@ -401,8 +401,8 @@ CASE x ... WHEN in["abc"] THEN ... END
401401
----
402402
a| Using the `[]` operator on a variable named `in` (or any casing variant, like `IN`) within a `WHEN` operand of a xref:expressions/conditional-expressions.adoc#case-simple[simple `CASE`] expression is deprecated.
403403
To continue using variables with this name, use backticks to quote the variable name:
404-
405-
* `CASE x ... WHEN ++`in`++[1] THEN ... END`
404+
405+
* `CASE x ... WHEN ++`in`++[1] THEN ... END`
406406
* `CASE x ... WHEN ++`in`++["abc"] THEN ... END`
407407

408408

@@ -601,7 +601,7 @@ label:functionality[]
601601
label:updated[]
602602
[source, cypher, role="noheader"]
603603
----
604-
CREATE (n:Label {property: 'name'}),
604+
CREATE (n:Label {property: 'name'}),
605605
()-[r:REL_TYPE]->()
606606
----
607607
| Neo4j's link:{neo4j-docs-base-uri}/operations-manual/current/database-internals/store-formats/#store-format-overview[block format] now implements xref:appendix/gql-conformance/index.adoc[GQL's] limit on the maximum length of identifiers.
@@ -652,7 +652,7 @@ RETURN t AS team, players
652652

653653
[source, cypher, role="noheader"]
654654
----
655-
OPTIONAL CALL db.labels() YIELD label
655+
OPTIONAL CALL db.labels() YIELD label
656656
RETURN label
657657
----
658658

@@ -716,7 +716,7 @@ DROP [COMPOSITE] DATABASE ... [RESTRICT \| CASCADE ALIAS[ES]]
716716

717717
| Added the ability to drop database aliases while deleting a database.
718718
This will affect local database aliases targeting the database and constituent database aliases belonging to the composite database.
719-
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].
719+
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].
720720

721721
a|
722722
label:functionality[]
@@ -1003,7 +1003,7 @@ MATCH SHORTEST 2 GROUPS (:A)-[:R]->{0,10}(:B)
10031003

10041004
a| Introduced new graph pattern matching keywords to find variations of the xref:patterns/shortest-paths.adoc[shortest paths] between nodes.
10051005

1006-
a|
1006+
a|
10071007
label:functionality[]
10081008
label:new[]
10091009

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: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This section discusses aspects of Neo4j that are important to consider when usin
88
[[cypher-neo4j-editions]]
99
== Cypher and the different editions of Neo4j
1010

11-
Neo4j consists of two editions: a commercial Enterprise Edition, and a Community Edition.
11+
Neo4j consists of two editions: a commercial Enterprise Edition, and a Community Edition.
1212

1313
Cypher works almost identically between the two editions, but there are key areas in which they differ:
1414

@@ -62,15 +62,15 @@ For more information, see the link:{neo4j-docs-base-uri}/operations-manual/curre
6262
Cypher queries are executed against a Neo4j database, but normally apply to specific graphs. It is important to understand the meaning of these terms and exactly when a graph is not a database.
6363

6464

65-
*DBMS*:: A Neo4j Database Management System is capable of containing and managing multiple graphs contained in databases. Client applications will connect to the DBMS and open sessions against it.
65+
*DBMS*:: A Neo4j Database Management System is capable of containing and managing multiple graphs contained in databases. Client applications will connect to the DBMS and open sessions against it.
6666
A client session provides access to any graph in the DBMS.
6767

68-
*Graph*:: Refers to a data model within a database.
68+
*Graph*:: Refers to a data model within a database.
6969
Normally there is only one graph within each database, and many administrative commands that refer to a specific graph do so using the database name.
7070
Cypher queries executed in a session may declare which graph they apply to, or use a default, given by the session.
7171
Composite databases can contain multiple graphs, by means of aliases to other databases.
7272
Queries submitted to composite databases may refer to multiple graphs within the same query.
73-
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[Operations manual -> Composite databases].
73+
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[Operations manual -> Composite databases].
7474

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

@@ -87,12 +87,12 @@ A fresh installation of Neo4j includes two databases:
8787

8888
For more information about the _system_ database, see the sections on link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/[Database management] and link:{neo4j-docs-base-uri}/operations-manual/current/authentication-authorization/[Access control].
8989

90-
=== Query considerations
90+
=== Query considerations
9191

92-
Most of the time Cypher queries are reading or updating queries, which are run against a graph.
92+
Most of the time Cypher queries are reading or updating queries, which are run against a graph.
9393
There are also link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/syntax[administrative commands] that apply to a database, or to the entire DBMS.
94-
Administrative commands cannot be run in a session connected to a normal user database, but instead need to be run within a session connected to the `system` database.
95-
Administrative commands execute on the `system` database.
94+
Administrative commands cannot be run in a session connected to a normal user database, but instead need to be run within a session connected to the `system` database.
95+
Administrative commands execute on the `system` database.
9696
If an administrative command is submitted to a user database, it is rerouted to the system database.
9797

9898
[[cypher-neo4j-transactions]]
@@ -125,11 +125,11 @@ Transactions in Neo4j can be either explicit or implicit.
125125
| Can execute a single Cypher query.
126126

127127
| Committed, or rolled back, by the user.
128-
| Committed automatically when a transactions finishes successfully.
128+
| Committed automatically when a transactions finishes successfully.
129129
|===
130130

131-
Queries that start separate transactions themselves, such as queries using xref::subqueries/subqueries-in-transactions.adoc[`+CALL { ... } IN TRANSACTIONS+`], are only allowed in _implicit_ mode.
132-
Explicit transactions cannot be managed directly from queries, they must be managed via APIs or tools.
131+
Queries that start separate transactions themselves, such as queries using xref::subqueries/subqueries-in-transactions.adoc[`+CALL { ... } IN TRANSACTIONS+`], are only allowed in _implicit_ mode.
132+
Explicit transactions cannot be managed directly from queries, they must be managed via APIs or tools.
133133

134134
For examples of the API, or the commands used to start and commit transactions, refer to the API or tool-specific documentation:
135135

@@ -166,7 +166,7 @@ The query will be categorized either as a read or write query depending on the d
166166
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/procedures[Operations Manual -> Procedures.]
167167
====
168168

169-
=== ACID compliance
169+
=== ACID compliance
170170

171171
Neo4j is fully ACID compliant.
172172
This means that:

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

@@ -173,7 +173,7 @@ SET n = properties(r)
173173
[source,cypher]
174174
----
175175
CYPHER 5
176-
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
176+
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
177177
SET n = r
178178
----
179179
// 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
@@ -221,7 +221,7 @@ For larger data sets, you might want to use larger batch sizes, such as `10000 R
221221
[[composite-databases]]
222222
== Composite databases
223223

224-
As of Neo4j 5.18, `CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
224+
As of Neo4j 5.18, `CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/scalability/composite-databases/concepts/[composite databases].
225225

226226
Even though composite databases allow accessing multiple graphs in a single query, only one graph can be modified in a single transaction.
227227
`CALL { ... } IN TRANSACTIONS` offers a way of constructing queries which modify multiple graphs.
@@ -433,7 +433,7 @@ RETURN n.num
433433
1+d|Rows: 4
434434
|===
435435
436-
In this case, the first inner transaction includes `i = 1` and `i = 0`.
436+
In this case, the first inner transaction includes `i = 1` and `i = 0`.
437437
Since `i = 0` causes an error, the entire transaction is rolled back, resulting in `null` for both elements.
438438
439439
=====
@@ -521,7 +521,7 @@ RETURN n.num
521521
522522
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.
523523
524-
.Transactions batched in 1 row with `ON ERROR FAIL`
524+
.Transactions batched in 1 row with `ON ERROR FAIL`
525525
[source, cypher, role=test-fail]
526526
----
527527
UNWIND [1, 0, 2, 4] AS i

0 commit comments

Comments
 (0)