Please open Quantifiers.lava in LavaPE.
Please open Select.lava in LavaPE.
Quantifiers foreach and exists as a means to express exhaustive and "stop when found" search loops, respectively. Set/chain element handles.
The select expression as means to express set-oriented queries and as a Lava counterpart of the SQL select construct.
See also the introduction to our repetitive computation samples.
Look at the initiator quantifierDemo. Run the sample program.
Look at the initiator selectDemo. Run the sample program. Note the type restriction Employee2 in the quantifier part of the select expression.