Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
83c777d
Update antora.yml
recrwplay Nov 21, 2022
38b90f0
Update publish.yml
recrwplay Nov 21, 2022
a14584a
Update publish branches
recrwplay Nov 22, 2022
4dcae65
Update link to browser manual (#219)
recrwplay Nov 22, 2022
97d220d
Fail verification if log contains warnings (#220)
recrwplay Nov 22, 2022
6c12943
added dryrun to list of additions and a note about 5.2
AlexicaWright Nov 22, 2022
d9e1ff3
Update modules/ROOT/pages/deprecations-additions-removals-compatibili…
AlexicaWright Nov 22, 2022
348cab7
Use short form of version attribute for index page (#221)
recrwplay Nov 22, 2022
5a6d6bd
addressed PR comments
AlexicaWright Nov 22, 2022
60e5bed
typo
AlexicaWright Nov 22, 2022
881652f
Add deprecation for duplicated variable length relationships in 5.2 (…
davidoliverSP2 Nov 22, 2022
deb718b
Add kroki extension to playbook (#224)
recrwplay Nov 22, 2022
9c042c0
changed label to new
AlexicaWright Nov 23, 2022
25b20fa
Merge branch 'dev' into 5.2-dryrun
AlexicaWright Nov 23, 2022
cbf64cb
added dryrun to list of additions and a note about 5.2 (#223)
AlexicaWright Nov 23, 2022
4588dab
Mark legacy relationship types as deprecated.
arnefischereit Nov 10, 2022
f9009a2
Mark legacy relationship types as deprecated. (#177)
JPryce-Aklundh Nov 24, 2022
f6d2fd2
Add note about the behavior of the id function on composite databases
tobias-johansson Nov 2, 2022
121a5db
Address review comment
tobias-johansson Nov 23, 2022
760ddd3
Add note about the behavior of the id function on composite databases…
JPryce-Aklundh Nov 24, 2022
d168ac0
Update documentation for Exists and Count subqueries
gem-neo4j Nov 17, 2022
c43af34
PR Review updates
gem-neo4j Nov 18, 2022
66d5e40
Add COUNT and EXISTS as submenus in menu
gem-neo4j Nov 21, 2022
34fd359
PR review updates
gem-neo4j Nov 25, 2022
00fa04a
Add and update documentation on Exists and Count subquery expressions…
JPryce-Aklundh Nov 25, 2022
2e77a19
Update explanation for predicate functions when used with null values…
davidoliverSP2 Nov 30, 2022
503949f
Improving description of `access` on SHOW DATABASES (#231) (#236)
lidiazuin Nov 30, 2022
b28ccc7
Edition of the Expressions section after review (#235) (#238)
lidiazuin Nov 30, 2022
8887cce
Document ´Allow both plural and singular form in SHOW commands`
Hunterness Nov 30, 2022
18a4907
Document ´Allow both plural and singular form in SHOW commands` (#233)
JPryce-Aklundh Nov 30, 2022
090ad30
fix.execution-plan.xref
Dec 1, 2022
ae2bd43
fix xref link on Execution plans page (#240)
JPryce-Aklundh Dec 5, 2022
7070e1f
Update restrictions when using WITH clause in a CALL subquery (#245)
JPryce-Aklundh Dec 6, 2022
ae345d0
Update docs about round() function. (#230)
Lojjs Dec 8, 2022
fa2a546
Fix Runtime version in Query Plan examples (#249)
JPryce-Aklundh Dec 12, 2022
fd715a2
Remove old note about variable length pattern matching in versions 2.…
JPryce-Aklundh Dec 13, 2022
d9ff885
Add documentation on updated `SHOW DATABASES` behaviour (#246)
jackwaudby Dec 14, 2022
c1f64e5
Clarify that the order of UNION branches matter if there are updates.
sherfert Dec 13, 2022
b85523e
typo
sherfert Dec 14, 2022
22f0e22
Clarify that the order of UNION branches matter if there are updates.…
sherfert Dec 15, 2022
3023b06
publish branches
recrwplay Dec 15, 2022
8a6996a
Merge branch '5.x' into 5.3-publish
recrwplay Dec 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ nav:
asciidoc:
attributes:
neo4j-version: '5'
neo4j-version-minor: '5.2'
neo4j-version-exact: '5.2.0'
neo4j-version-minor: '5.3'
neo4j-version-exact: '5.3.0'
119 changes: 119 additions & 0 deletions modules/ROOT/images/graph_expression_subqueries.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions modules/ROOT/pages/access-control/manage-roles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ m| SHOW ROLES
a|
[source, syntax, role="noheader"]
----
SHOW [ALL\|POPULATED] ROLES
SHOW [ALL\|POPULATED] ROLE[S]
[YIELD { * \| field[, ...] } [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
[WHERE expression]
[RETURN field[, ...] [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
Expand Down Expand Up @@ -63,7 +63,7 @@ m| SHOW ROLES WITH USERS
a|
[source, syntax, role="noheader"]
----
SHOW [ALL\|POPULATED] ROLES WITH USERS
SHOW [ALL\|POPULATED] ROLE[S] WITH USER[S]
[YIELD { * \| field[, ...] } [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
[WHERE expression]
[RETURN field[, ...] [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
Expand All @@ -84,7 +84,6 @@ a|
GRANT SHOW ROLE
----

[source, privilege, role="noheader"]
(see xref::access-control/dbms-administration.adoc#access-control-dbms-administration-role-management[DBMS ROLE MANAGEMENT privileges])


Expand Down
8 changes: 6 additions & 2 deletions modules/ROOT/pages/access-control/manage-servers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ m| SHOW SERVERS
a|
[source, cyper, role=noplay]
----
SHOW SERVERS
SHOW SERVER[S]
[YIELD { * \| field[, ...] } [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
[WHERE expression]
[RETURN field[, ...] [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
Expand Down Expand Up @@ -352,6 +352,11 @@ Using `DRYRUN REALLOCATE DATABASE` returns a view of how the databases would hav
| "db3" | "server-1" | "00000000-94ff-4ede-87be-3d741b795480" | "server-5" | "00000003-0df7-4057-81fd-1cf43c9ef5f7" | "primary"
|===

[NOTE]
====
`DRYRUN` is introduced in Neo4j 5.2, and thus is not available in earlier minor releases of v5.
====

[[server-management-deallocate]]
== Deallocate databases

Expand All @@ -370,7 +375,6 @@ Using `DRYRUN DEALLOCATE DATABASES FROM 'server-1', 'server-2'` returns a view o
[options="header,footer", width="100%", cols="m,m,m,m,m,m"]
|===
|database|fromServerName|fromServerId|toServerName|toServerId|mode

| "db1" | "server-1" | "00000001-8c04-4731-a2fd-7b0289c511ce" | "server-4" | "00000002-5b91-43c1-8b25-5289f674563e" | "primary"
| "db1" | "server-2" | "00000000-7e53-427c-a987-24634c4745f3" | "server-5" | "00000003-0e98-44c8-9844-f0a4eb95b0d8" | "primary"
|===
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/access-control/manage-users.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ m| SHOW USERS
a|
[source, syntax, role="noheader"]
----
SHOW USERS
SHOW USER[S]
[YIELD { * \| field[, ...] } [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
[WHERE expression]
[RETURN field[, ...] [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
Expand Down Expand Up @@ -477,7 +477,7 @@ This example shows how to:

[source, cypher, role=noplay]
----
SHOW USERS YIELD user, suspended, passwordChangeRequired, roles, home
SHOW USER YIELD user, suspended, passwordChangeRequired, roles, home
WHERE user = 'jake'
----
======
Expand Down
10 changes: 10 additions & 0 deletions modules/ROOT/pages/clauses/union.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ The number and the names of the columns must be identical in all queries combine
To keep all the result rows, use `UNION ALL`.
Using just `UNION` will combine and remove duplicates from the result set.

[NOTE]
====
If any of the queries in a UNION contain updates, the order of queries in the UNION is relevant.

Any clause before the UNION cannot observe writes made by a clause after the UNION.
Any clause after UNION can observe all writes made by a clause before the UNION.

For details see xref::introduction/clause_composition.adoc#cypher-clause-composition-union-queries[clause composition in queries with `UNION`] for details.
====

image:graph_union_clause.svg[]

////
Expand Down
9 changes: 7 additions & 2 deletions modules/ROOT/pages/databases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ The syntax of the database management commands is as follows:
|
[source, syntax, role="noheader"]
----
SHOW { DATABASE name \| DATABASES \| DEFAULT DATABASE \| HOME DATABASE }
SHOW { DATABASE[S] name \| DATABASE[S] \| DEFAULT DATABASE \| HOME DATABASE }
[WHERE expression]
----

[source, syntax, role="noheader"]
----
SHOW { DATABASE name \| DATABASES \| DEFAULT DATABASE \| HOME DATABASE }
SHOW { DATABASE[S] name \| DATABASE[S] \| DEFAULT DATABASE \| HOME DATABASE }
YIELD { * \| field[, ...] } [ORDER BY field[, ...]] [SKIP n] [LIMIT n]
[WHERE expression]
[RETURN field[, ...] [ORDER BY field[, ...]] [SKIP n] [LIMIT n]]
Expand Down Expand Up @@ -258,6 +258,11 @@ However, some privileges enable users to see additional databases regardless of

If a user has not been granted `ACCESS` privilege to any databases nor any of the above special cases, the command can still be executed but will only return the `system` database, which is always visible.
====
[NOTE]
====
Databases hosted on servers that are offline are also returned by the `SHOW DATABASES` command.
For such databases, the `address` column displays `NULL`, the `currentStatus` column displays `unknown`, and the `statusMessage` displays `Server is unavailable`.
====

======

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[cypher-deprecations-additions-removals-compatibility]]
= Deprecations, additions and compatibility
= Deprecations, additions, and compatibility
:description: all of the features that have been removed, deprecated, added, or extended in different Cypher versions.


Expand All @@ -9,6 +9,60 @@ New features are added to the language continuously, and occasionally, some feat
This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
Replacement syntax for deprecated and removed features are also indicated.

[[cypher-deprecations-additions-removals-5.3]]
== Version 5.3

=== Updated features

[cols="2", options="header"]
|===
| Feature
| Details

a|
label:functionality[]
label:updated[]
[source, cypher, role="noheader"]
----
SHOW DATABASES
----
a|
Changes to the visibility of databases hosted on offline servers.

For such databases:

* The `address` column will return `NULL`.
* The `currentStatus` column will return `unknown`.
* The `statusMessage` will return `Server is unavailable`.

a|
label:functionality[]
label:updated[]
[source, cypher, role="noheader"]
----
EXISTS {
...
}
----
a|

An `EXISTS` subquery now supports any non-writing query. For example, it now supports `UNION` and `CALL` clauses.


a|
label:functionality[]
label:updated[]
[source, cypher, role="noheader"]
----
COUNT {
...
}
----
a|

A `COUNT` subquery now supports any non-writing query. For example, it now supports `UNION` and `CALL` clauses.

|===

[[cypher-deprecations-additions-removals-5.2]]
== Version 5.2
Expand Down Expand Up @@ -59,6 +113,16 @@ a|
Creating composite databases now allows for an empty options clause.
There are no applicable option values for composite databases.

a|
label:functionality[]
label:new[]
[source, cypher, role="noheader"]
----
DRYRUN REALLOCATE\|DEALLOCATE DATABASES FROM <serverId>
----

a| To preview of the result of either `REALLOCATE` or `DEALLOCATE` without executing, prepend the command with `DRYRUN`.

|===

[[cypher-deprecations-additions-removals-5.1]]
Expand Down
Loading