Skip to content

Commit 091f5f3

Browse files
authored
Revert "Disallow unquoted database names with dot" (#2031)
Reverts #1948 Cypher 25 will not be released with 2025.01. I'll create a separate PR with this feature.
1 parent 0953f4f commit 091f5f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ 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+
Database names are the only identifier for which dots do not need to be quoted.
24+
For example `main.db` is a valid database name.
25+
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.
2626
====
2727

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

0 commit comments

Comments
 (0)