Officially out now: The TypeDB 3.0 Roadmap >>

Value types

This reference gives an overview of the usage of values in TypeQL.

Name TypeQL Description

Boolean

boolean

A logical boolean (true / false).

Integer

integer

A 64-bit signed integer.

Double

double

A double precision IEEE 754 floating point number.

Decimal

decimal

A fixed point signed decimal number.

String

string

A UTF-8 character string type.

Date

date

An ISO 8601 compliant date type.

Datetime

datetime

An ISO 8601 compliant date and time type.

DatetimeTZ

datetime-tz

An ISO 8601 compliant date and time type with time zone information.

Duration

duration

An ISO 8601 compliant duration type.