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/clauses/use.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Where `<graph>` refers to the name or alias of a database in the DBMS.
24
24
[[query-use-syntax-composite]]
25
25
=== Composite database syntax
26
26
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:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ For more information, see:
38
38
| Feature
39
39
| Details
40
40
41
-
a|
41
+
a|
42
42
label:functionality[]
43
43
label:new[]
44
44
@@ -63,7 +63,7 @@ label:functionality[]
63
63
label:updated[]
64
64
[source, cypher]
65
65
----
66
-
PROFILE
66
+
PROFILE
67
67
WITH "Person" AS label
68
68
MATCH (people:$(label))
69
69
RETURN people.name
@@ -129,7 +129,7 @@ If not specified, the default language for the database is set to the default la
129
129
For more information, see the following sections in the Operations Manual:
130
130
131
131
* 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].
133
133
134
134
a|
135
135
label:functionality[]
@@ -386,7 +386,7 @@ CASE x ... WHEN contains - 1 THEN ... END
386
386
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.
387
387
To continue using variables with this name, use backticks to quote the variable name:
388
388
389
-
* Additions: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END`
389
+
* Additions: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END`
390
390
* Subtractions: `CASE x ... WHEN ++`contains`++ - 1 THEN ... END`
391
391
392
392
a|
@@ -401,8 +401,8 @@ CASE x ... WHEN in["abc"] THEN ... END
401
401
----
402
402
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.
403
403
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`
406
406
* `CASE x ... WHEN ++`in`++["abc"] THEN ... END`
407
407
408
408
@@ -601,7 +601,7 @@ label:functionality[]
601
601
label:updated[]
602
602
[source, cypher, role="noheader"]
603
603
----
604
-
CREATE (n:Label {property: 'name'}),
604
+
CREATE (n:Label {property: 'name'}),
605
605
()-[r:REL_TYPE]->()
606
606
----
607
607
| 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.
| Added the ability to drop database aliases while deleting a database.
718
718
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].
720
720
721
721
a|
722
722
label:functionality[]
@@ -1003,7 +1003,7 @@ MATCH SHORTEST 2 GROUPS (:A)-[:R]->{0,10}(:B)
1003
1003
1004
1004
a| Introduced new graph pattern matching keywords to find variations of the xref:patterns/shortest-paths.adoc[shortest paths] between nodes.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/functions/graph.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
17
17
.Considerations
18
18
|===
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].
20
20
|===
21
21
22
22
.+graph.names()+
@@ -71,7 +71,7 @@ The names of all graphs on the current composite database are returned.
71
71
72
72
.Considerations
73
73
|===
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].
75
75
| 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.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/functions/scalar.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -383,8 +383,8 @@ It is therefore recommended to use application-generated IDs instead.
383
383
384
384
[NOTE]
385
385
====
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.
388
388
389
389
When called in database-specific subqueries, the resulting ID value for a node or relationship is local to that database.
390
390
The local ID for nodes or relationships from different databases may be the same.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/introduction/cypher-neo4j.adoc
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This section discusses aspects of Neo4j that are important to consider when usin
8
8
[[cypher-neo4j-editions]]
9
9
== Cypher and the different editions of Neo4j
10
10
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.
12
12
13
13
Cypher works almost identically between the two editions, but there are key areas in which they differ:
14
14
@@ -62,15 +62,15 @@ For more information, see the link:{neo4j-docs-base-uri}/operations-manual/curre
62
62
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.
63
63
64
64
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.
66
66
A client session provides access to any graph in the DBMS.
67
67
68
-
*Graph*:: Refers to a data model within a database.
68
+
*Graph*:: Refers to a data model within a database.
69
69
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.
70
70
Cypher queries executed in a session may declare which graph they apply to, or use a default, given by the session.
71
71
Composite databases can contain multiple graphs, by means of aliases to other databases.
72
72
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].
74
74
75
75
*Database*:: A database is a storage and retrieval mechanism for collecting data in a defined space on disk and in memory.
76
76
@@ -87,12 +87,12 @@ A fresh installation of Neo4j includes two databases:
87
87
88
88
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].
89
89
90
-
=== Query considerations
90
+
=== Query considerations
91
91
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.
93
93
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.
96
96
If an administrative command is submitted to a user database, it is rerouted to the system database.
97
97
98
98
[[cypher-neo4j-transactions]]
@@ -125,11 +125,11 @@ Transactions in Neo4j can be either explicit or implicit.
125
125
| Can execute a single Cypher query.
126
126
127
127
| Committed, or rolled back, by the user.
128
-
| Committed automatically when a transactions finishes successfully.
128
+
| Committed automatically when a transactions finishes successfully.
129
129
|===
130
130
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.
133
133
134
134
For examples of the API, or the commands used to start and commit transactions, refer to the API or tool-specific documentation:
135
135
@@ -166,7 +166,7 @@ The query will be categorized either as a read or write query depending on the d
166
166
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/procedures[Operations Manual -> Procedures.]
Copy file name to clipboardExpand all lines: modules/ROOT/pages/queries/select-version.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,10 +100,10 @@ For more information about how to change and view the default language of new an
100
100
101
101
* link:{neo4j-docs-base-uri}/operations-manual/current/configuration/cypher-version-configuration/[Configure the Cypher default version]
102
102
* 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]
104
104
* 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]
105
105
* 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]
107
107
* 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]
108
108
* 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]
109
109
* 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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,7 @@ For larger data sets, you might want to use larger batch sizes, such as `10000 R
221
221
[[composite-databases]]
222
222
== Composite databases
223
223
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].
225
225
226
226
Even though composite databases allow accessing multiple graphs in a single query, only one graph can be modified in a single transaction.
227
227
`CALL { ... } IN TRANSACTIONS` offers a way of constructing queries which modify multiple graphs.
@@ -433,7 +433,7 @@ RETURN n.num
433
433
1+d|Rows: 4
434
434
|===
435
435
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`.
437
437
Since `i = 0` causes an error, the entire transaction is rolled back, resulting in `null` for both elements.
438
438
439
439
=====
@@ -521,7 +521,7 @@ RETURN n.num
521
521
522
522
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.
523
523
524
-
.Transactions batched in 1 row with `ON ERROR FAIL`
524
+
.Transactions batched in 1 row with `ON ERROR FAIL`
0 commit comments