Skip to content

Commit 00a238e

Browse files
authored
Group math and temporal functions in cypher-5 (#1399)
1 parent 46e0250 commit 00a238e

File tree

7 files changed

+25
-15
lines changed

7 files changed

+25
-15
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,17 @@
8484
** xref:functions/graph.adoc[]
8585
** xref:functions/list.adoc[]
8686
** xref:functions/load-csv.adoc[]
87-
** xref:functions/mathematical-logarithmic.adoc[]
88-
** xref:functions/mathematical-numeric.adoc[]
89-
** xref:functions/mathematical-trigonometric.adoc[]
87+
** Mathematical functions
88+
*** xref:functions/mathematical-logarithmic.adoc[]
89+
*** xref:functions/mathematical-numeric.adoc[]
90+
*** xref:functions/mathematical-trigonometric.adoc[]
9091
** xref:functions/predicate.adoc[]
9192
** xref:functions/scalar.adoc[]
9293
** xref:functions/spatial.adoc[]
9394
** xref:functions/string.adoc[]
94-
** xref:functions/temporal/duration.adoc[]
95-
** xref:functions/temporal/index.adoc[]
95+
** Temporal functions
96+
*** xref:functions/temporal/duration.adoc[]
97+
*** xref:functions/temporal/index.adoc[]
9698
** xref:functions/user-defined.adoc[]
9799
** xref:functions/vector.adoc[]
98100

modules/ROOT/pages/functions/index.adoc

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,12 @@ LOAD CSV functions can be used to get information about the file that is process
207207
|===
208208

209209

210+
[[header-query-functions-mathematical]]
211+
== Mathematical functions
212+
213+
210214
[[header-query-functions-logarithmic]]
211-
== Logarithmic functions
215+
=== Logarithmic functions
212216

213217
These functions all operate on numerical expressions only, and will return an error if used on any other values.
214218

@@ -240,7 +244,7 @@ These functions all operate on numerical expressions only, and will return an er
240244

241245

242246
[[header-query-functions-numeric]]
243-
== Numeric functions
247+
=== Numeric functions
244248

245249
These functions all operate on numerical expressions only, and will return an error if used on any other values.
246250

@@ -280,7 +284,7 @@ These functions all operate on numerical expressions only, and will return an er
280284

281285

282286
[[header-query-functions-trigonometric]]
283-
== Trigonometric functions
287+
=== Trigonometric functions
284288

285289
These functions all operate on numerical expressions only, and will return an error if used on any other values.
286290

@@ -588,8 +592,12 @@ If the points are in a Cartesian CRS, the function returns the Euclidean distanc
588592
|===
589593

590594

595+
[[header-query-functions-temporal]]
596+
== Temporal functions
597+
598+
591599
[[header-query-functions-temporal-duration]]
592-
== Temporal duration functions
600+
=== Duration functions
593601

594602
`DURATION` values of the xref::values-and-types/temporal.adoc[temporal types] can be created manipulated using the following functions:
595603

@@ -620,7 +628,7 @@ If the points are in a Cartesian CRS, the function returns the Euclidean distanc
620628
|===
621629

622630
[[header-query-functions-temporal-instant-types]]
623-
== Temporal instant types functions
631+
=== Instant types functions
624632

625633
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:
626634

modules/ROOT/pages/functions/mathematical-logarithmic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:table-caption!:
33

44
[[query-functions-logarithmic]]
5-
= Mathematical functions - logarithmic
5+
= Logarithmic functions
66

77
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].
88

modules/ROOT/pages/functions/mathematical-numeric.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:table-caption!:
33

44
[[query-functions-numeric]]
5-
= Mathematical functions - numeric
5+
= Numeric functions
66

77
Numeric mathematical functions operate on numeric expressions only, and will return an error if used on any other values.
88
See also xref:expressions/mathematical-operators.adoc[Mathematical operators].

modules/ROOT/pages/functions/mathematical-trigonometric.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:table-caption!:
33

44
[[query-functions-trigonometric]]
5-
= Mathematical functions - trigonometric
5+
= Trigonometric functions
66

77
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].
88

modules/ROOT/pages/functions/temporal/duration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:description: Cypher provides functions allowing for the creation and manipulation of temporal `DURATION` values.
22

33
[[query-functions-temporal-duration]]
4-
= Temporal functions - duration
4+
= Duration functions
55
:table-caption!:
66

77
Duration functions allow for the creation and manipulation of temporal `DURATION` values.

modules/ROOT/pages/functions/temporal/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:table-caption!:
33

44
[[query-functions-temporal-instant-types]]
5-
= Temporal functions - instant types
5+
= Instant type functions
66

77
Temporal functions allow for the creation and manipulation of values for each temporal type -- `DATE`, `ZONED TIME`, `LOCAL TIME`, `ZONED DATETIME`, and `LOCAL DATETIME`.
88

0 commit comments

Comments
 (0)