...
eg. if(_out.AppleHarvestDate < toDate('20210101'), 1,
/* ELSE Evaluates to 1 if AppleHarvest Date is Before 1st January 2021 and 0 if it is not */
0
)
Macros
Sometimes we might want to write our own expressions that can be used time and again. To do this we can write a Macro. Instead of a writing the name of each attribute in the expression, instead make it generic by writing $args[1], $args[2] etc.
...