DB
FunctionsArray

array_agg

Collects input values from the group into an array. If an ORDER BY is specified in the aggregation context, that order is used; otherwise the order is not guaranteed.

array_agg(…) → String

Kind · aggregate

Collects input values from the group into an array. If an ORDER BY is specified in the aggregation context, that order is used; otherwise the order is not guaranteed.

Part of the Array family.