Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pages/querying/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ This section contains the list of supported functions.

### Temporal functions

| Name | Signature | Description |
| --------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `duration` | `duration(value: string\|Duration) -> (Duration)` | Returns the data type that represents a period of time. |
| `date` | `date(value: string\|Date\|LocalDateTime) -> (Date)` | Returns the data type that represents a date with year, month, and day. |
| `localTime` | `localTime(value: string\|LocalTime\|LocalDateTime) -> (LocalTime)` | Returns the data type that represents time within a day without timezone. |
| `localDateTime` | `localDateTime(value: string\|LocalDateTime)-> (LocalDateTime)` | Returns the data type that represents a date and local time. |
| `datetime` | `datetime(value: NULL\|string\|map)-> (ZonedDateTime)` | Returns the `ZonedDateTime` value defined by the given parameters. |

| Name | Signature | Description |
| --------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `duration` | `duration(value: string\|Duration) -> (Duration)` | Returns the data type that represents a period of time. |
| `date` | `date(value: string\|Date\|LocalDateTime\|ZonedDateTime) -> (Date)` | Returns the data type that represents a date with year, month, and day. |
| `localTime` | `localTime(value: string\|LocalTime\|LocalDateTime\|ZonedDateTime) -> (LocalTime)` | Returns the data type that represents time within a day without timezone. |
| `localDateTime` | `localDateTime(value: string\|LocalDateTime\|ZonedDateTime)-> (LocalDateTime)` | Returns the data type that represents a date and local time. |
| `datetime` | `datetime(value: NULL\|string\|map\|ZonedDateTime)-> (ZonedDateTime)` | Returns the `ZonedDateTime` value defined by the given parameters. |
### Scalar functions

| Name | Signature | Description |
Expand Down