Comparison Operators
| Operator | Description |
|---|---|
| And | The value in the database must match both stanzas entered. |
| Or | The value in the database must match one of the arguments. You cannot use an OR operator between stanzas. |
| = | The value in the database must be equal to the argument entered. |
| != | The value in the database must not be equal to the argument entered. |
| > | The value in the database must be greater than the argument entered |
| < | The value in the database must be less than the argument entered. |
| >= | The value in the database must be greater than or equal to the argument entered. |
| <= | The value in the database must be less than or equal to the argument entered. |
| Function Name | Description |
|---|---|
| String |
|
| Number |
|
| Boolean |
|
| UUID |
|
| Array |
|
| Function Name | Description | Example |
|---|---|---|
| IS SUBSET OF | Checks whether the data type is contained within the given attribute in a stanza. | device{managementIp IS SUBSET OF '192.168.20.0/24'} |
| IS SUPERSET OF | Check whether the data type contains the given attribute in a stanza. | device{managementIp IS SUPERSET OF '192.168.20.0/24'} |
| EQUALS | Checks whether the data type equals the given attribute in a stanza. | device{managementIp EQUALS '192.168.20.12'} |
| INTERSECTS | Checks whether the data type intersects the given attribute in a stanza. | device{managementIp INTERSECTS '192.168.20.0/24'} |
| IS DISJOINT FROM | Checks whether the data type has no relation to the given stanza. | device{managementIp IS DISJOINT FROM '193.168.20.12/32'} |