Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
488a86d
Add `DROP DATABASE name CASCADE ALIASES`
Hunterness Sep 3, 2024
5b7e27e
Add sentences about additional privileges
Hunterness Sep 4, 2024
994f3b9
Apply suggestions from code review
Hunterness Sep 4, 2024
41be4e4
Address review comments
Hunterness Sep 5, 2024
821a506
Address review comments
Hunterness Sep 19, 2024
6b05ee1
update examples slightly
Hunterness Sep 20, 2024
767b535
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
32a35f9
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
2c5af59
Update modules/ROOT/pages/database-administration/composite-databases…
renetapopova Sep 24, 2024
4023823
Update modules/ROOT/pages/database-administration/composite-databases…
renetapopova Sep 24, 2024
c42b313
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
99ed2bc
editial update of delete composite database page
renetapopova Sep 24, 2024
8ed9ecd
Update modules/ROOT/pages/database-administration/composite-databases…
renetapopova Sep 24, 2024
c670df8
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
a2e6614
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
1afc7d8
fix the example and the label
renetapopova Sep 24, 2024
41a79e8
remove we
renetapopova Sep 24, 2024
b714145
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
31d1e6b
Update modules/ROOT/pages/database-administration/composite-databases…
renetapopova Sep 24, 2024
5b88e8c
Update modules/ROOT/pages/database-administration/standard-databases/…
renetapopova Sep 24, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ However, keep in mind that the first command targets only composite databases, w
DROP COMPOSITE DATABASE inventory
----

[role=enterprise-edition label--new-5.24]
[role=label--new-5.24]
[[composite-databases-delete-with-aliases]]
== Delete a composite database while dropping its constituents

Expand All @@ -38,7 +38,7 @@ For more information about this privilege, see xref:authentication-authorization

.Drop a composite database and its consitutent alias
====
In this example, we create a composite database `movies` and a database alias `movies.sweden` for the database `swedish-movies` and then delete the alias `sweden` and the composite database `movies`.
This example shows how to create a composite database `movies` and a database alias `movies.sweden` for the database `swedish-movies` and then delete the alias `sweden` and the composite database `movies`.

.Create a composite database `movies` and a database alias `movies.sweden` for the database `swedish-movies`
[source, cypher]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,23 @@ For more information about the privilege, see xref:authentication-authorization/

.Drop a database and the local database alias targeting it
====
.Delete a database with local database aliases targeting it
====
The following example assumes that you have a database that is the target of a local database alias:
The following example creates a database `movies` and a local database alias `films` targeting it:

[source, cypher]
----
CREATE DATABASE movies
CREATE ALIAS films FOR DATABASE movies
----

Then, both the database alias `films` and the database `movies` can be dropped with the following:
Then, the database `movies` and the local database alias `films` can be dropped using the following command:

[source, cypher]
----
DROP DATABASE movies CASCADE ALIASES
----

====
====
The option `RESTRICT` explicitly requests the default behavior of the command.
//The option `RESTRICT` explicitly requests the default behavior of the command.

[NOTE]
====
Expand Down