Skip to content

Commit 637ecdd

Browse files
committed
Update naming 'Note!'s
1 parent 75e7f3d commit 637ecdd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

modules/ROOT/pages/database-administration/aliases/naming-aliases.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ The following naming rules apply:
1010
* A name is a valid identifier.
1111
* Name length can be up to 65534 characters.
1212
* Names cannot end with dots.
13-
* Unquoted dots signify that the database alias belongs to a composite database, separating the composite database name and the alias name.
1413
* Names that begin with an underscore or with the prefix `system` are reserved for internal use.
1514
* Non-alphabetic characters, including numbers, symbols, dots, and whitespace characters, can be used in names, but must be quoted using backticks.
15+
* Dots (`.`) are interpreted as a delimiter between composite database and constituent alias name if a matching composite database exists.
16+
Otherwise, Neo4j will fall back to interpreting the dot as simply part of the database name.
1617
1718
The name restrictions and escaping rules apply to all the different database alias commands.
1819

modules/ROOT/pages/database-administration/standard-databases/naming-databases.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Support for database names starting with a numeric character is available from N
2020
The `-` (dash) and `.` (dot) characters are not legal in Cypher variables.
2121
Names containing a `-` or that begin with a numeric character must be enclosed within backticks.
2222
For example, `CREATE DATABASE ++`main-db`++` is a valid database name.
23-
In Cypher 25, names that contain a dot (`.`) must be quoted in backticks.
24-
However, using dots in database names is not recommended, as it makes it difficult to determine if a dot is part of the database name or a delimiter for a database alias in a composite database.
25-
A future version of Neo4j may entirely disallow database names with dots.
23+
Using dots in database names is not recommended, as it makes it difficult to determine if a dot is part of the database name or a delimiter for a database alias in a composite database.
2624
====
2725

2826
It is possible to create an alias to refer to an existing database to avoid these restrictions.

0 commit comments

Comments
 (0)