Types

This is the documentation of the GraphQL Library version 6. For the long-term support (LTS) version 5, refer to GraphQL Library version 5 LTS.

The Neo4j GraphQL Library provides the following types:

Type Description

Int

The Int scalar type represents a signed 32-bit numeric non-fractional value.

Float

The Float scalar type represents a signed double-precision fractional value.

String

The String scalar type represents textual data and consists of UTF-8 characters.

Boolean

The Boolean scalar type represents true or false.

ID

The ID scalar type represents a unique identifier, often used to refetch an object.

BigInt

The BigInt scalar type represents a signed 64-bit numeric non-fractional value.

Date

The Date temporal scalar type is a ISO 8601 date mapping to the Neo4j DATE type.

Time

The Time temporal scalar type is a ISO 8601 time of day and timezone mapping to the Neo4j ZONED TIME type.

LocalTime

The LocalTime temporal scalar type is a ISO 8601 time of day mapping to the Neo4j LOCAL TIME type.

DateTime

The DateTime temporal scalar type is a ISO 8601 date, time of day and timezone mapping to the Neo4j ZONED DATETIME type.

LocalDateTime

The LocalDateTime temporal scalar type is an ISO 8601 date and time of day mapping to the Neo4j LOCAL DATETIME type.

Duration

The Duration temporal scalar type is an ISO 8601 duration mapping to the Neo4j DURATION type.

Point

The Point spatial object type is a WGS 84 3D geographic point.

CartesianPoint

The CartesianPoint spatial object type is a Cartesian 3D point.