New MIN/MAX functions that accepts any expression type.

This commit is contained in:
go-jet 2019-09-30 14:42:04 +02:00
parent 4b86e8f0ca
commit e09c78dec3
6 changed files with 46 additions and 0 deletions

View file

@ -67,12 +67,18 @@ var BIT_OR = jet.BIT_OR
// COUNT is aggregate function. Returns number of input rows for which the value of expression is not null.
var COUNT = jet.COUNT
// MAX is aggregate function. Returns maximum value of expression across all input values
var MAX = jet.MAX
// MAXi is aggregate function. Returns maximum value of int expression across all input values
var MAXi = jet.MAXi
// MAXf is aggregate function. Returns maximum value of float expression across all input values
var MAXf = jet.MAXf
// MIN is aggregate function. Returns minimum value of int expression across all input values
var MIN = jet.MIN
// MINi is aggregate function. Returns minimum value of int expression across all input values
var MINi = jet.MINi