DataPredicatePropType
Configuration example
{
"dataPredicate": {
"operator": "AND",
"conditions": [
{
"dataField": "status",
"condition": "notEqual",
"value": "draft"
}
]
}
}
| Name | Type | Default | Description |
|---|---|---|---|
| operator | 'AND' | 'OR' | conditions Should all be satisfied or only one of them be satisfied | |
| conditions | Conditions | The list of conditions that need to be met to match the current data will be determined by operator to determine whether all or only one |
Conditions
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| dataField | string | The id of the data field | ||
| field | string | ✔️ | The id of the data field can be written as Variable Pattern | |
| condition | 'equals' | 'stringEquals' | 'notEqual' | 'stringNotEqual' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'lessThan' | 'lessThanOrEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'blank' | 'notBlank' | condition | ||
| value | string | number | bool | ✔️ | value |