Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.71 KB

File metadata and controls

35 lines (23 loc) · 1.71 KB

Filter

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]

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"