Builtin

view

view(a)

Returns a as a relational expression which can be assigned to a relvar as a dynamic view.

Examples

$S view
high_sup := view($S[STATUS>20]~{CITY})
high_sup
SNOSNAMESTATUS
S3Blake30
S5Adams30

Note: the high_sup view is re-evaluated each time it is referenced, so any underlying changes to $S would be reflected in it.