UNION (or |)


The UNION function combines the elements of two sets into one single set. You can also use the infix operator | to achieve the same.


p is Person
UNION(p.services_accepted, p.services_declined)

The set of services offered to this client will list both the offers the client accepted, plus those that were offered but declined.

Using the infix operator, the same example would look like

p is Person
p.services_accepted | p.services_declined

Last updated