Skip to content

Conversation

@AlexicaWright
Copy link
Contributor

No description provided.

@neo-technology-commit-status-publisher
Copy link
Collaborator

neo-technology-commit-status-publisher commented Nov 30, 2023

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

…manage-databases.adoc

Co-authored-by: Jens Pryce-Åklundh <112686610+JPryce-Aklundh@users.noreply.github.com>
Copy link
Collaborator

@renetapopova renetapopova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small suggestion. Otherwise, it looks good to me. Thanks, @AlexicaWright!

+-------+
----

In a cluster, the `SHOW DATABASES` returns the number of allocations of databases and may be misleading if the number of distinct databases is desired.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In a cluster, the `SHOW DATABASES` returns the number of allocations of databases and may be misleading if the number of distinct databases is desired.
In a cluster, the command `SHOW DATABASES` returns the number of database allocations, which may be misleading if the number of distinct databases is desired.

Copy link
Contributor

@JPryce-Aklundh JPryce-Aklundh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small suggestion, but I think it looks good 👍

=== Show the number of databases

The number of databases can be seen using a `count()` aggregation with `YIELD` and `RETURN`.
The number of distinct databases can be seen using `YIELD` and a `count()` function in the `RETURN` clause to aggregate the number of `DISTINCT` database names.
Copy link
Contributor

@JPryce-Aklundh JPryce-Aklundh Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The number of distinct databases can be seen using `YIELD` and a `count()` function in the `RETURN` clause to aggregate the number of `DISTINCT` database names.
The number of `DISTINCT` databases can be seen using `YIELD` and the `count()` function in the `RETURN` clause:

@AlexicaWright AlexicaWright merged commit 60f12ae into neo4j:dev Dec 4, 2023
AlexicaWright added a commit to AlexicaWright/docs-operations that referenced this pull request Dec 4, 2023
Co-authored-by: Jens Pryce-Åklundh <112686610+JPryce-Aklundh@users.noreply.github.com>
AlexicaWright added a commit that referenced this pull request Dec 4, 2023
Co-authored-by: Jens Pryce-Åklundh <112686610+JPryce-Aklundh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants