Skip to content

Commit bf9d210

Browse files
committed
Merge branch 'dev' into document-temporal-parsing
2 parents c77f04f + f17b406 commit bf9d210

File tree

17 files changed

+577
-144
lines changed

17 files changed

+577
-144
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
** xref:functions/string.adoc[]
101101
** xref:functions/temporal/duration.adoc[]
102102
** xref:functions/temporal/index.adoc[]
103+
** xref:functions/temporal/format.adoc[]
103104
** xref:functions/user-defined.adoc[]
104105
** xref:functions/vector.adoc[]
105106

modules/ROOT/pages/appendix/gql-conformance/additional-cypher.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,20 @@ If the points are in a Cartesian CRS, the function returns the Euclidean distanc
542542
|===
543543

544544

545+
[[temporal-format-functions]]
546+
=== Temporal format functions
547+
548+
[options="header", cols="2a,5a"]
549+
|===
550+
| Cypher feature
551+
| Description
552+
553+
| xref:functions/temporal/format.adoc[`format()`]
554+
| Returns the temporal value as an ISO-formatted `STRING` or as a `STRING` formatted by the provided pattern.
555+
556+
|===
557+
558+
545559
[[vector-functions]]
546560
=== Vector functions
547561

modules/ROOT/pages/clauses/call.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Omission of parentheses is available only in a so-called standalone procedure ca
7272
====
7373
7474
75-
This example calls the procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_dbms_checkconfigvalue[`dbms.checkConfigValue()`], which checks the validity of a configuration setting value, using literal arguments.
75+
This example calls the procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_dbms_checkConfigValue[`dbms.checkConfigValue()`], which checks the validity of a configuration setting value, using literal arguments.
7676
7777
.Query
7878
[source, cypher]
@@ -208,7 +208,7 @@ RETURN count(*) AS results
208208
`YIELD` can be used to filter for specific results.
209209
This requires knowing the names of the arguments within a procedure's signature, which can either be found in the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/[Operations Manual -> Procedures] or in the `signature` column returned by a `SHOW PROCEDURES` command (see example below).
210210
211-
.Find the argument names of `db.propertyKeys`
211+
.Find the argument names of `db.propertyKeys()`
212212
[source, cypher]
213213
----
214214
SHOW PROCEDURES YIELD name, signature

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ RETURN format(dt, "MM/dd/yyyy") AS US, format(dt, "dd/MM/yyyy") AS EU
5252
| Feature
5353
| Details
5454

55+
a|
56+
label:functionality[]
57+
label:new[]
58+
[source, cypher, role="noheader"]
59+
----
60+
WITH datetime('1986-11-18T6:04:45.123456789+01:00[Europe/Berlin]') AS dt
61+
RETURN format(dt, "MM/dd/yyyy") AS US, format(dt, "dd/MM/yyyy") AS EU
62+
----
63+
64+
| Cypher's new xref:functions/temporal/format.adoc[`format()`] function can create dynamically formatted string representations of temporal instance and duration types.
65+
5566
a|
5667
label:functionality[]
5768
label:new[]
@@ -60,6 +71,7 @@ New operator: `LockNodes`
6071

6172

6273
a| Introduced xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-lock-nodes[`LockNodes`] operator, sometimes used in conjunction with the `LockingMerge` operator to lock nodes.
74+
6375
|===
6476

6577
[[cypher-deprecations-additions-removals-2025.08]]
@@ -398,7 +410,7 @@ CALL db.schema.nodeTypeProperties() YIELD propertyTypes RETURN propertyTypes;
398410
CALL db.schema.relTypeProperties() YIELD propertyTypes RETURN propertyTypes;
399411
----
400412
a|
401-
The column `propertyTypes` returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_nodetypeproperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_reltypeproperties[`db.schema.relTypeProperties()`] previously returned a list of strings representing the potential Java types for a given property.
413+
The column `propertyTypes` returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_nodeTypeProperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_relTypeProperties[`db.schema.relTypeProperties()`] previously returned a list of strings representing the potential Java types for a given property.
402414
It now returns a list of strings representing the possible Cypher Types the given property has.
403415
For all available Cypher types, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms].
404416

@@ -954,7 +966,7 @@ CALL db.schema.nodeTypeProperties() YIELD propertyTypes RETURN propertyTypes;
954966
CALL db.schema.relTypeProperties() YIELD propertyTypes RETURN propertyTypes;
955967
----
956968
a|
957-
The column `propertyTypes` currently returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_nodetypeproperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_reltypeproperties[`db.schema.relTypeProperties()`] produces a list of strings representing the potential Java types for a given property.
969+
The column `propertyTypes` currently returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_nodeTypeProperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_schema_relTypeProperties[`db.schema.relTypeProperties()`] produces a list of strings representing the potential Java types for a given property.
958970
In an upcoming major release of Neo4j, this will be updated to represent the possible Cypher types for that property instead.
959971
For all available Cypher types, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms].
960972

modules/ROOT/pages/functions/index.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,23 @@ Values of the xref::values-and-types/temporal.adoc[temporal types] -- `DATE`, `Z
764764
|===
765765

766766

767+
[role=label--cypher-25-only label--new-Neo4j-2025.09]
768+
[[header-query-functions-temporal-format]]
769+
== Temporal format functions
770+
771+
These functions format temporal instance and duration values:
772+
773+
[options="header"]
774+
|===
775+
| Function | Signature | Description
776+
777+
1.1+| xref::functions/temporal/format.adoc#query-functions-temporal-format-function[`format()`]
778+
| `format(value :: DATE \| LOCAL TIME \| ZONED TIME \| LOCAL DATETIME \| ZONED DATETIME \| DURATION[, pattern :: STRING]) :: STRING`
779+
| Returns the temporal value as an ISO-formatted `STRING` or as a `STRING` formatted by the provided pattern.
780+
781+
|===
782+
783+
767784
[[header-query-functions-user-defined]]
768785
== User-defined functions
769786

0 commit comments

Comments
 (0)