cf.Query.value

Query.value

The value of the condition encapsulated by the query.

An exception is raised for compound conditions.

Examples

>>> q = cf.Query('ge', 4)
>>> q.value
4
>>> q |= cf.Query('le', 6)
>>> q.value
AttributeError: Compound query doesn't have attribute 'value'