Skip to content

Data types

NameDescriptionLength constraints
INTEGERSigned 64-bit integer value. Usually referred to as BIGINT in other databases.-
BOOLEANA boolean value, either TRUE or FALSE-
VARCHARUTF8-encoded textMaximum number of bytes in the UTF-8 encoded representation of the string
BLOBsequence of bytesMaximum number of bytes in the sequence
TIMESTAMPdatetime value with microsecond precision-



Size constraints

Size constraint is specified with a [MAX_SIZE] suffix on the type, e.g. BLOB[16] represents a sequence of up to 16 bytes.

NULL values

NULL values in immudb are not unique - two NULL values are considered equal on comparisons.

Timestamp values

Timestamp values are internally stored as a 64-bit signed integer being a number of microseconds since the epoch time. Those values are not associated with any timezone, whenever a conversion is needed, it is considered to be in UTC.

Released under the Apache 2.0 License.