Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

Code Block
titleYAML Example
...
condition:
  dataset: ADSL
  variable: SAFFL
  comparator: EQ
  value:
  - Y

This condition could be represented in tabular form as:

Dataset2
datasetvariablecomparatorvalue
ADSLSAFFLEQY

Other conditions based on a single value (i.e., with a comparator value of "NE", "LT", "LE", "GT", or "GE") would be represented in a similar way.