Min

Minimal value

Signature

min(expr: AttrName|(Tuple->Numeric)) -> Aggregator

Examples

min(:qty)
min{|t| t.qty * t.price }
min(->(t){ t.qty * t.price })

Description

Returns the smallest of input values.

Implementation notes

This aggregate function must only be used with comparable types. As of current Alf version, it does not aggregate empty sets correctly.