QueryCondition

The QueryCondition class is a data structure representing one condition when querying data using the Query Callable.

Definition

class QueryCondition(field, operator, value)
Parameters:
  • field – The field to compare data with. A field string must follow the format of table.field.

  • operator – The operator to use when comparing data.

  • value – The value to compare the selected field with. This cannot be a column reference. The value type is inferred. The pipeline runner will try to convert the value to a suitable type according to the following order: double > int > boolean > string

Configuration

A QueryCondition object has the following representation in JSON:

{
    "field": "field",
    "operator": "operator",
    "value": "value"
}