min

Table of Contents

Aggregate Function

min — minimum value of input values

Synopsis

min(...number) -> number

Description

The min aggregate function computes the minimum value of its input.

Examples

Minimum value of simple sequence:

min(this)
1
2
3
4
Loading...

Continuous minimum of simple sequence:

yield min(this)
1
2
3
4
Loading...

Unrecognized types are ignored:

min(this)
1
2
3
4
"foo"
Loading...

Minimum value within buckets grouped by key:

min(a) by k |> sort
{a:1,k:1}
{a:2,k:1}
{a:3,k:2}
{a:4,k:2}
Loading...
Next: or

SuperDB