Skip to main content

FiltersInput (Input)

Description

FiltersInput class is used to group multiple group filters with a logical operator. It allows combining multiple group filters using AND, OR, or other logical operators. Each filters input represents a set of group filters combined with a logical operator. For example, a filters input with operator AND and group filters [{operator: OR, matchFilters: [{key: "status", is: ""active""}, {key: "status", is: ""pending""}]}, {operator: AND, matchFilters: [{key: "age", range: {gte: "18", lte: "30"}}]}] will match records where (status is "active" or "pending") and (age is between 18 and 30) inclusive.



Fields

NameDescription
groupFilters - [GroupFiltersInput!]!List of group filters to be combined. Each group filter represents a set of conditions (match filters) combined with a logical operator.
operator - FilterOperator!Logical operator to combine group filters. This can be AND, OR, etc.

input FiltersInput {
groupFilters: [GroupFiltersInput!]!
operator: FilterOperator!
}