Skip to content

Commit 1aae0d5

Browse files
Document max identifier length (#1077)
1 parent 720b732 commit 1aae0d5

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,27 @@ CREATE DATABASE db OPTIONS { existingDataSeedInstance: ... }
3636
| 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.
3737
|===
3838

39+
=== Updated features
40+
41+
[cols="2", options="header"]
42+
|===
43+
| Feature
44+
| Details
45+
46+
a|
47+
label:functionality[]
48+
label:updated[]
49+
[source, cypher, role="noheader"]
50+
----
51+
CREATE (n:Label {property: 'name'},
52+
()-[r:REL_TYPE]->()
53+
----
54+
| 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.
55+
56+
The maximum limit is set to 16,383 characters in an identifier.
57+
This means that node labels, relationship types, and property keys cannot include more than 16,383 characters.
58+
|===
59+
3960
=== New features
4061

4162
[cols="2", options="header"]
@@ -53,8 +74,6 @@ CREATE DATABASE db OPTIONS { existingDataSeedServer: ... }
5374
| 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.
5475
|===
5576

56-
57-
5877
[[cypher-deprecations-additions-removals-5.24]]
5978
== Neo4j 5.24
6079

modules/ROOT/pages/syntax/naming.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,11 @@ 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+
[role=label--new-5.25]
75+
[[identifier-length-limit]]
76+
== Length limit of identifiers
77+
78+
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.
79+
80+
The maximum limit is set to 16,383 characters in an identifier.
81+
This means that node labels, relationship types, and property keys cannot include more than 16,383 characters.

0 commit comments

Comments
 (0)