cf.Query.operator

Query.operator

The query operator.

For compound queries operator is always None, regardless of the operators of the constituent conditions.

Examples

>>> q = cf.Query('ge', 4)
>>> q.operator
'ge'
>>> q |= cf.Query('le', 6)
>>> print(q.operator)
None