@@ -1457,6 +1457,11 @@ class Aggregate expr1 expr2 aggr
1457 => expr1 (nullity ty)
1457 => expr1 (nullity ty)
1458 -> aggr (nullity ty)
1458 -> aggr (nullity ty)
1460+ -- | input values, including nulls, concatenated into an array
1463+ -> aggr ('NotNull ('PGvararray ty))
1460 -- | >>> :{
1465 -- | >>> :{
1462 -- expression :: Expression ('Grouped bys) commons schemas params '[tab ::: '["col" ::: nullity 'PGint4]] (nullity 'PGint4)
1467 -- expression :: Expression ('Grouped bys) commons schemas params '[tab ::: '["col" ::: nullity 'PGint4]] (nullity 'PGint4)
@@ -1718,6 +1723,7 @@ instance Aggregate
1718 countStar = UnsafeExpression "count(*)"
1723 countStar = UnsafeExpression "count(*)"
1719 count = unsafeAggregate1 "count"
1724 count = unsafeAggregate1 "count"
1720 sum_ = unsafeAggregate1 "sum"
1725 sum_ = unsafeAggregate1 "sum"
1726+ arrayAgg = unsafeAggregate1 "array_agg"
1721 bitAnd = unsafeAggregate1 "bit_and"
1727 bitAnd = unsafeAggregate1 "bit_and"
1722 bitOr = unsafeAggregate1 "bit_or"
1728 bitOr = unsafeAggregate1 "bit_or"
1723 boolAnd = unsafeAggregate1 "bool_and"
1729 boolAnd = unsafeAggregate1 "bool_and"
@@ -1751,6 +1757,7 @@ instance Aggregate
1751 countStar = UnsafeWindowFunction "count(*)"
1757 countStar = UnsafeWindowFunction "count(*)"
1752 count = unsafeWindowFunction1 "count"
1758 count = unsafeWindowFunction1 "count"
1753 sum_ = unsafeWindowFunction1 "sum"
1759 sum_ = unsafeWindowFunction1 "sum"
1760+ arrayAgg = unsafeWindowFunction1 "array_agg"
1754 bitAnd = unsafeWindowFunction1 "bit_and"
1761 bitAnd = unsafeWindowFunction1 "bit_and"
1755 bitOr = unsafeWindowFunction1 "bit_or"
1762 bitOr = unsafeWindowFunction1 "bit_or"
1756 boolAnd = unsafeWindowFunction1 "bool_and"
1763 boolAnd = unsafeWindowFunction1 "bool_and"