QISMATADocumentationProductOpen Studio
USER GUIDE

Predicate operator reference

Use comparisons, date ranges, and nested groups with explicit behavior for missing fields and empty arrays.

Supported operators #

OperatorMeaningArguments
eq / neEqual / not equalvalue
gt / gteGreater / greater or equalvalue
lt / lteLess / less or equalvalue
inValue belongs to a listvalue: array
existsField is presentNo value required
is_nullPresent field contains nullNo value required
betweenCalendar date in inclusive rangefrom and to

Use the lowercase operator name, for example gte, not the symbol >=.

json
{
  "path": "country",
  "op": "in",
  "value": [
    "DE",
    "FR",
    "NL"
  ]
}

in tests list membership, not a substring. exists is true for a present field containing null or an empty string. is_null requires the field to exist.

Date ranges #

json
{
  "path": "date",
  "op": "between",
  "from": "2026-11-01",
  "to": "2026-11-30"
}

Both boundaries are included. between is for calendar dates. Use gte and lte together for a numeric range.

Combine rules #

all requires every child condition to match one item. any requires at least one. not inverts one condition.

json
{
  "all": [
    {
      "path": "amount",
      "op": "gte",
      "value": 100
    },
    {
      "path": "amount",
      "op": "lte",
      "value": 1000
    }
  ]
}
json
{
  "any": [
    {
      "path": "status",
      "op": "eq",
      "value": "approved"
    },
    {
      "path": "status",
      "op": "eq",
      "value": "manual_review"
    }
  ]
}
json
{
  "not": {
    "path": "country",
    "op": "in",
    "value": [
      "DE",
      "FR"
    ]
  }
}

Groups may nest. all and any require non-empty arrays. Use one construct per object: a comparison, all, any, or not. The All block checks every array item; an all group checks multiple conditions for one item.

Missing fields are errors #

For optional age fields, use two Filter blocks in sequence:

two separate predicates
{"path":"age","op":"exists"}

// Configure the second Filter separately:
{"path":"age","op":"gte","value":18}

Types and empty arrays #

  • Ordered comparisons require numeric values; numeric strings are also accepted. Numeric eq may consider 18 and "18" equal.
  • Non-numeric eq and ne use strict, case-sensitive comparison.
  • in is strict: the number 18 does not match the string "18".
  • Use value: true for a boolean, not value: "true".
BlockEmpty array result
Filter[]
Anyfalse
Alltrue
Count Where0

If you require a non-empty array with every item matching, check non-emptiness separately.

Qismata documentation