14.9.2 Type System
Filter expressions are a very simple type system. There are only the following 13 types:
integer
(can be abbreviated in expressions withint
)long
float
double
boolean
string
date
time
time with timezone
timestamp
timestamp with timezone
vertex
edge
Conversions are only allowed from one numeric type to another numeric type (i.e. integer
, float
, double
, long
).
Comparisons require both sides to be of the same (or convertible) type.
Parent topic: Filter Expressions