except
except removes all items from the input context that are in the operand.
| Context | Type |
|---|---|
| Input | any set or collection |
| Output | a set or collection the same type as the input |
| Parameter | Type |
|---|---|
| operand | a set or collection of the same type as the input |
Examples
Finds all sensors except temperature sensors with a value greater than 10:
objects(type="sensor").except(objects(value > 10, measurementType="temperature"))