Types

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, represented as UTF-8 character sequences.

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 scalar type is a ISO 8601 date mapping to the Neo4j DATE type.

Time

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

LocalTime

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

DateTime

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

LocalDateTime

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

Duration

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

Point

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

CartesianPoint

The CartesianPoint object type is a Cartesian 3D point.