Skip to content

Commit 288f81a

Browse files
committed
Comment out the note about Cypher 25 database names with dots
1 parent 76e9ae4 commit 288f81a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ 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+
//Remove the following line and uncomment the rest when Cypher 25 is released.
24+
Database names are the only identifier for which dots do not need to be quoted.
25+
For example `main.db` is a valid database name.
26+
However, this behavior is deprecated due to the difficulty of determining if a dot is part of the database name or a delimiter for a database alias in a composite database.
27+
//In Cypher 25, names that contain a dot (`.`) must be quoted in backticks.
28+
//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.
29+
//A future version of Neo4j may entirely disallow database names with dots.
2630
====
2731

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

0 commit comments

Comments
 (0)