Campaign uses a typed system with some specificities:
XTK type | JS type | Comment / Description | |
---|---|---|---|
string | 6 | string | never null, defaults to "" |
memo | 12 | string | |
CDATA | 13 | string | |
byte | 1 | number | signed integer in the [-128, 128[ range. Never null, defaults to 0 |
short | 2 | number | signed 16 bits integer in the [-32768, 32768[ range. Never null, defaults to 0 |
long | 3 | number | signed 32 bits integer. Never null, defaults to 0 |
int64 | string | signed 64 bits integer. As JavaScript handles all numbers as doubles, it's not possible to properly represent an int64 as a number, and it's therefore represented as a string. | |
float | 4 | number | single-percision numeric value. Never null, defaults to 0 |
double | 5 | number | double-percision numeric value. Never null, defaults to 0 |
datetime | 7 | Date | UTC timestamp with second precision. Can be null |
datetimetz | |||
datetimenotz | |||
date | 10 | Date | UTC timestamp with day precision. Can be null |
boolean | 15 | boolean | boolean value, defaultint to false. Cannot be null |
timespan | |||
primarykey | string | A primary key is serialized with format |