From 4d12d031c6cd06d17d5680a4b2c18be1e5e8474d Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 24 Sep 2025 14:34:35 +0200 Subject: [PATCH 1/2] group math and temporal functions --- modules/ROOT/content-nav.adoc | 14 ++++++++------ .../pages/functions/mathematical-logarithmic.adoc | 2 +- .../ROOT/pages/functions/mathematical-numeric.adoc | 2 +- .../functions/mathematical-trigonometric.adoc | 2 +- .../ROOT/pages/functions/temporal/duration.adoc | 2 +- modules/ROOT/pages/functions/temporal/format.adoc | 2 +- modules/ROOT/pages/functions/temporal/index.adoc | 2 +- 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index 1779cdcb4..e51eb3bea 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -91,16 +91,18 @@ ** xref:functions/graph.adoc[] ** xref:functions/list.adoc[] ** xref:functions/load-csv.adoc[] -** xref:functions/mathematical-logarithmic.adoc[] -** xref:functions/mathematical-numeric.adoc[] -** xref:functions/mathematical-trigonometric.adoc[] +** Mathematical functions +*** xref:functions/mathematical-logarithmic.adoc[] +*** xref:functions/mathematical-numeric.adoc[] +*** xref:functions/mathematical-trigonometric.adoc[] ** xref:functions/predicate.adoc[] ** xref:functions/scalar.adoc[] ** xref:functions/spatial.adoc[] ** xref:functions/string.adoc[] -** xref:functions/temporal/duration.adoc[] -** xref:functions/temporal/index.adoc[] -** xref:functions/temporal/format.adoc[] +** Temporal functions +*** xref:functions/temporal/duration.adoc[] +*** xref:functions/temporal/index.adoc[] +*** xref:functions/temporal/format.adoc[] ** xref:functions/user-defined.adoc[] ** xref:functions/vector.adoc[] diff --git a/modules/ROOT/pages/functions/mathematical-logarithmic.adoc b/modules/ROOT/pages/functions/mathematical-logarithmic.adoc index 412c69268..341c96e93 100644 --- a/modules/ROOT/pages/functions/mathematical-logarithmic.adoc +++ b/modules/ROOT/pages/functions/mathematical-logarithmic.adoc @@ -2,7 +2,7 @@ :table-caption!: [[query-functions-logarithmic]] -= Mathematical functions - logarithmic += Logarithmic functions Logarithmic mathematical functions operate on numeric expressions only, and will return an error if used on any other values. See also xref:expressions/mathematical-operators.adoc[Mathematical operators]. diff --git a/modules/ROOT/pages/functions/mathematical-numeric.adoc b/modules/ROOT/pages/functions/mathematical-numeric.adoc index a5dea7961..7cc662f81 100644 --- a/modules/ROOT/pages/functions/mathematical-numeric.adoc +++ b/modules/ROOT/pages/functions/mathematical-numeric.adoc @@ -2,7 +2,7 @@ :table-caption!: [[query-functions-numeric]] -= Mathematical functions - numeric += Numeric functions Numeric mathematical functions operate on numeric expressions only, and will return an error if used on any other values. See also xref:expressions/mathematical-operators.adoc[Mathematical operators]. diff --git a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc index 9a5c12049..bb46450da 100644 --- a/modules/ROOT/pages/functions/mathematical-trigonometric.adoc +++ b/modules/ROOT/pages/functions/mathematical-trigonometric.adoc @@ -2,7 +2,7 @@ :table-caption!: [[query-functions-trigonometric]] -= Mathematical functions - trigonometric += Trigonometric functions Trigonometric mathematical functions operate on numeric expressions only, and will return an error if used on any other values. See also xref:expressions/mathematical-operators.adoc[Mathematical operators]. diff --git a/modules/ROOT/pages/functions/temporal/duration.adoc b/modules/ROOT/pages/functions/temporal/duration.adoc index 0612c789e..529705f46 100644 --- a/modules/ROOT/pages/functions/temporal/duration.adoc +++ b/modules/ROOT/pages/functions/temporal/duration.adoc @@ -1,7 +1,7 @@ :description: Cypher provides functions allowing for the creation and manipulation of temporal `DURATION` values. [[query-functions-temporal-duration]] -= Temporal functions - duration += Duration functions :table-caption!: Duration functions allow for the creation and manipulation of temporal `DURATION` values. diff --git a/modules/ROOT/pages/functions/temporal/format.adoc b/modules/ROOT/pages/functions/temporal/format.adoc index d7d7d4999..fe501ef6f 100644 --- a/modules/ROOT/pages/functions/temporal/format.adoc +++ b/modules/ROOT/pages/functions/temporal/format.adoc @@ -2,7 +2,7 @@ :table-caption!: [[query-functions-temporal-format]] -= Temporal functions - format += Format functions [role=label--cypher-25-only label--new-Neo4j-2025.09] [[query-functions-temporal-format-function]] diff --git a/modules/ROOT/pages/functions/temporal/index.adoc b/modules/ROOT/pages/functions/temporal/index.adoc index 5ca5b37b7..111f9ce6e 100644 --- a/modules/ROOT/pages/functions/temporal/index.adoc +++ b/modules/ROOT/pages/functions/temporal/index.adoc @@ -2,7 +2,7 @@ :table-caption!: [[query-functions-temporal-instant-types]] -= Temporal functions - instant types += Instant type functions Temporal functions allow for the creation and manipulation of values for each temporal type -- `DATE`, `ZONED TIME`, `LOCAL TIME`, `ZONED DATETIME`, and `LOCAL DATETIME`. From a98d670ab193736a8a00503f06b725ee742b1aed Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Thu, 25 Sep 2025 11:32:59 +0200 Subject: [PATCH 2/2] included functions overview page --- modules/ROOT/pages/functions/index.adoc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/ROOT/pages/functions/index.adoc b/modules/ROOT/pages/functions/index.adoc index d24012d48..0bde5f886 100644 --- a/modules/ROOT/pages/functions/index.adoc +++ b/modules/ROOT/pages/functions/index.adoc @@ -207,8 +207,12 @@ LOAD CSV functions can be used to get information about the file that is process |=== +[[header-query-functions-mathematical]] +== Mathematical functions + + [[header-query-functions-logarithmic]] -== Logarithmic functions +=== Logarithmic functions These functions all operate on numerical expressions only, and will return an error if used on any other values. @@ -240,7 +244,7 @@ These functions all operate on numerical expressions only, and will return an er [[header-query-functions-numeric]] -== Numeric functions +=== Numeric functions These functions all operate on numerical expressions only, and will return an error if used on any other values. @@ -280,7 +284,7 @@ These functions all operate on numerical expressions only, and will return an er [[header-query-functions-trigonometric]] -== Trigonometric functions +=== Trigonometric functions These functions all operate on numerical expressions only, and will return an error if used on any other values. @@ -613,8 +617,12 @@ If the points are in a Cartesian CRS, the function returns the Euclidean distanc |=== +[[header-query-functions-temporal]] +== Temporal functions + + [[header-query-functions-temporal-duration]] -== Temporal duration functions +=== Duration functions `DURATION` values of the xref::values-and-types/temporal.adoc[temporal types] can be created manipulated using the following functions: @@ -645,7 +653,7 @@ If the points are in a Cartesian CRS, the function returns the Euclidean distanc |=== [[header-query-functions-temporal-instant-types]] -== Temporal instant types functions +=== Instant type functions Values of the xref::values-and-types/temporal.adoc[temporal types] -- `DATE`, `ZONED TIME`, `LOCAL TIME`, `ZONED DATETIME`, and `LOCAL DATETIME` -- can be created manipulated using the following functions: @@ -766,7 +774,7 @@ Values of the xref::values-and-types/temporal.adoc[temporal types] -- `DATE`, `Z [role=label--cypher-25-only label--new-Neo4j-2025.09] [[header-query-functions-temporal-format]] -== Temporal format functions +=== Format functions These functions format temporal instance and duration values: