Temporal types
Neo4j GraphQL supports all of the default GraphQL scalar types as well as additional scalar and object types specific to the Neo4j database, such as the temporal types.
Temporal types
Type | Description | Example | ||
---|---|---|---|---|
|
ISO datetime string stored as a datetime temporal type. |
|
||
|
"YYYY-MM-DD" date string stored as a date temporal type. |
|
||
|
ISO 8601 duration string stored as a duration type.
|
|
||
|
"YYYY-MM-DDTHH:MM:SS" datetime string stored as a LocalDateTime temporal type. |
|
||
|
RFC3339 time string stored as a Time temporal type. |
|
||
|
"HH:MM:SS[.sss+]" time string stored as a LocalTime temporal type. |
|