Operators

The list of available aggregation's operators based on the field type

The valid operators you can use when aggregating the matches of a condition or the targets of an action depend on the type of field on which you want to perform the aggregation (e.g. you cannot sum strings such as tags or SKU codes).

You can find here below the complete list of the available operators:

Operator
Field type
Description

sum

Number

The sum of the field values of the all the condition's matches is compared against the provided value using the specified matcher.

min

Number

The smallest of the field values of the all the condition's matches is compared against the provided value using the specified matcher.

max

Number

The biggest of the field values of the all the condition's matches is compared against the provided value using the specified matcher.

count

StringNumber

The number of occurrences of the field value among all the condition's matches is compared against the provided value using the specified matcher.

count_uniq

StringNumberBoolean

The number of unique occurences of the field value among all the condition's matches is compared against the provided value using the specified matcher.

Last updated