@@ -77,18 +77,23 @@ var PropertyFlagNames = map[PropertyFlags]string{
7777type PropertyType int8
7878
7979const (
80- PropertyTypeBool PropertyType = 1
81- PropertyTypeByte PropertyType = 2
82- PropertyTypeShort PropertyType = 3
83- PropertyTypeChar PropertyType = 4
84- PropertyTypeInt PropertyType = 5
85- PropertyTypeLong PropertyType = 6
86- PropertyTypeFloat PropertyType = 7
87- PropertyTypeDouble PropertyType = 8
88- PropertyTypeString PropertyType = 9
89- PropertyTypeDate PropertyType = 10
90- PropertyTypeRelation PropertyType = 11
91- PropertyTypeDateNano PropertyType = 12
80+ PropertyTypeBool PropertyType = 1
81+ PropertyTypeByte PropertyType = 2
82+ PropertyTypeShort PropertyType = 3
83+ PropertyTypeChar PropertyType = 4
84+ PropertyTypeInt PropertyType = 5
85+ PropertyTypeLong PropertyType = 6
86+ PropertyTypeFloat PropertyType = 7
87+ PropertyTypeDouble PropertyType = 8
88+ PropertyTypeString PropertyType = 9
89+ // Date/time stored as a 64 bit long representing milliseconds since 1970-01-01 (unix epoch).
90+ PropertyTypeDate PropertyType = 10
91+ PropertyTypeRelation PropertyType = 11
92+ // High precision date/time stored as a 64 bit long representing nanoseconds since 1970-01-01 (unix epoch).
93+ PropertyTypeDateNano PropertyType = 12
94+ // "Flexible" type, which may contain scalars (integers, floating points), strings or containers (lists and maps).
95+ // Note: a flex map must use string keys.
96+ PropertyTypeFlex PropertyType = 13
9297 PropertyTypeByteVector PropertyType = 23
9398 PropertyTypeStringVector PropertyType = 30
9499)
@@ -107,6 +112,7 @@ var PropertyTypeNames = map[PropertyType]string{
107112 PropertyTypeDate : "Date" ,
108113 PropertyTypeRelation : "Relation" ,
109114 PropertyTypeDateNano : "DateNano" ,
115+ PropertyTypeFlex : "Flex" ,
110116 PropertyTypeByteVector : "ByteVector" ,
111117 PropertyTypeStringVector : "StringVector" ,
112118}
0 commit comments