Skip to content

Commit 8b08e29

Browse files
Document identfier max length (#1078)
1 parent e4abb89 commit 8b08e29

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

modules/ROOT/pages/appendix/gql-conformance/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
:description: Overview of Cypher's conformance to GQL.
22
= GQL conformance
33

4-
*Last updated*: 13 September 2024 +
5-
*Neo4j version*: 5.24
4+
*Last updated*: 24 October 2024 +
5+
*Neo4j version*: 5.25
66

77
GQL is the new link:https://www.iso.org/home.html[ISO] International Standard query language for graph databases.
88

modules/ROOT/pages/appendix/gql-conformance/supported-optional.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ These codes order the features in the table below.
9393
| xref:patterns/reference.adoc#graph-patterns-rules-variable-references[Graph patterns -> Rules]
9494
|
9595

96+
| GB01
97+
| Long identifiers
98+
| xref:syntax/naming.adoc#identifier-length-limit[Naming rules and recommendations -> Identifier length limit]
99+
|
100+
96101
| GF01
97102
| Enhanced numeric functions
98103
| xref:functions/mathematical-numeric.adoc#functions-abs[`abs()`], xref:functions/mathematical-numeric.adoc#functions-floor[`floor()`], xref:functions/mathematical-logarithmic.adoc#functions-sqrt[`sqrt()`].

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,27 @@ CREATE DATABASE db OPTIONS { existingDataSeedInstance: ... }
108108
| The `CREATE DATABASE` option `existingDataSeedInstance` has been deprecated and replaced with the option link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-administration/standard-databases/create-database/#manage-databases-create-database-options[`existingDataSeedServer`]. The functionality is unchanged.
109109
|===
110110

111+
=== Updated features
112+
113+
[cols="2", options="header"]
114+
|===
115+
| Feature
116+
| Details
117+
118+
a|
119+
label:functionality[]
120+
label:updated[]
121+
[source, cypher, role="noheader"]
122+
----
123+
CREATE (n:Label {property: 'name'}),
124+
()-[r:REL_TYPE]->()
125+
----
126+
| Neo4j's link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats/#store-format-overview[block format] now implements xref:appendix/gql-conformance/index.adoc[GQL's] limit on the maximum length of identifiers.
127+
128+
The maximum limit is set to 16,383 characters in an identifier.
129+
This means that node labels, relationship types, and property keys cannot include more than 16,383 characters.
130+
|===
131+
111132
=== New features
112133

113134
[cols="2", options="header"]
@@ -125,7 +146,6 @@ CREATE DATABASE db OPTIONS { existingDataSeedServer: ... }
125146
| The option link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-administration/standard-databases/create-database/#manage-databases-create-database-options[`existingDataSeedServer`] has been added to `CREATE DATABASE`. The functionality is the same as the deprecated option `existingDataSeedServer`, which this replaces.
126147
|===
127148

128-
129149
[[cypher-deprecations-additions-removals-5.24]]
130150
== Neo4j 5.24
131151

modules/ROOT/pages/syntax/naming.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,10 @@ Here are the recommended naming conventions:
7171
| Relationship types | Upper-case, using underscore to separate words | `:OWNS_VEHICLE` rather than `:ownsVehicle` etc.
7272
|===
7373

74+
[[identifier-length-limit]]
75+
== Length limit of identifiers
76+
77+
Neo4j's link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats/#store-format-overview[block format] implements xref:appendix/gql-conformance/index.adoc[GQL's] limit on the maximum length of identifiers.
78+
79+
The maximum limit is set to 16,383 characters in an identifier.
80+
This means that node labels, relationship types, and property keys cannot include more than 16,383 characters.

0 commit comments

Comments
 (0)