Lists & arrays
Scalar
array_aggr()
Executes the aggregate function name on the elements of list
Alias of list_aggregate()
Arguments & returns
array_aggr(list, name, …)
Scalar
| Overload link | list | name |
… Varargs | Returns |
|---|---|---|---|---|
| #01 | ANY[] | VARCHAR |
ANY |
ANY |
… accepts a variable number of arguments of the type shown.
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
list_aggregate([1, 2, NULL], 'min');