Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 2.04 KB

File metadata and controls

45 lines (29 loc) · 2.04 KB

FilterExpression

Properties

Name Type Description Notes
field String Required. Name of the field to use as the first operand in the filter expression. [optional]
key String If `field` is `tag`, this field is required to specify `key` inside the tags. [optional]
value String Constant value to use as the second operand in the filter expression. This value is required when the relation operator is a binary operator. [optional]
hoursAgo String If `field` is session-related, this is required to specify the number of hours before or after the user's session. [optional]
radius BigDecimal If `field` is `location`, this will specify the radius in meters from a provided location point. Use with `lat` and `long`. [optional]
lat BigDecimal If `field` is `location`, this is required to specify the user's latitude. [optional]
_long BigDecimal If `field` is `location`, this is required to specify the user's longitude. [optional]
relation RelationEnum Required. Operator of a filter expression. [optional]
operator OperatorEnum Strictly, this must be either `"OR"`, or `"AND"`. It can be used to compose Filters as part of a Filters object. [optional]

Enum: RelationEnum

Name Value
GREATER_THAN ">"
LESS_THAN "<"
EQUAL "="
NOT_EQUAL "!="
EXISTS "exists"
NOT_EXISTS "not_exists"
TIME_ELAPSED_GT "time_elapsed_gt"
TIME_ELAPSED_LT "time_elapsed_lt"

Enum: OperatorEnum

Name Value
OR "OR"
AND "AND"