Logical operators
How to use logical operators
Overview
The following are logical operators that are supported in AQS, they evaluate to a set of item ids matching the underlying conditions.
Or
If any of the underlying conditions is satisfied:
Allowed Children
All Logical operators, All Conditional operators
Requirements
None
Return Type
Item Ids Set
Example:
{
"type": "Or",
"children": [
{
"type": "StartsWith",
"properties": { ... },
"children": [
{
"type": "Attribute",
...
},
{
"type": "String",
...
}
]
},
{
"type": "GreaterThan",
"properties": { ... },
"children": [
{
"type": "Attribute",
...
},
{
"type": "Number",
...
}
]
}
]
}
And
If all of the underlying conditions are satisfied:
Allowed Children
All Logical operators, All Conditional operators
Requirements
None
Return Type
Item Ids Set
Example:
{
"type": "And",
"children": [
{
"type": "StartsWith",
"properties": { ... },
"children": [
{
"type": "Attribute",
...
},
{
"type": "String",
...
}
]
},
{
"type": "GreaterThan",
"properties": { ... },
"children": [
{
"type": "Attribute",
...
},
{
"type": "Number",
...
}
]
}
]
}