schema.criteria.md
May 31, 2024 ยท View on GitHub
Home > @datashaper/schema > Criteria
Criteria interface
Signature:
export interface Criteria
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| operator | NumericComparisonOperator | StringComparisonOperator | BooleanComparisonOperator | DateComparisonOperator | Filter operator to execute. Note the correct operator for the column data type must be used. | |
| strategy | ComparisonStrategy | Indicates whether the filter should be directly against a value, or against the value of another column | |
| value? | Value | (Optional) Comparison value for the column. Not required if the operator is self-defining (e.g., 'is empty') |