This example shows an instance of the WhereClause class (or one of its specializations) that defines a simple condition based on a single specified selection value. The example shown specifies that the value of the SAFFL variable in the ADSL dataset is equal to "Y", which could be expressed as:
ADSL.SAFFL EQ 'Y'
Note that some attributes (such as the expected level and order attributes) have been excluded from this example.
YAML Example
... condition: dataset: ADSL variable: SAFFL comparator: EQ value: - Y
This condition could be represented in tabular form as:
$titleHtml
$warningHtml
Other conditions based on a single value (i.e., with a comparator value of "EQ", "NE", "LT", "LE", "GT", or "GE") would be represented in a similar way.
dataset | variable | comparator | value |
---|---|---|---|
ADSL | SAFFL | EQ | Y |