@@ -135,6 +135,7 @@ sumWhere :: (Sql DBNum a, Sql DBSum a)
135sumWhere condition a = sum (caseExpr [(condition, a)] 0)
135sumWhere condition a = sum (caseExpr [(condition, a)] 0)
138+-- | Corresponds to @string_agg()@.
138stringAgg :: Sql DBString a
139stringAgg :: Sql DBString a
139 => Expr db -> Expr a -> Aggregate (Expr a)
140 => Expr db -> Expr a -> Aggregate (Expr a)
140stringAgg delimiter =
141stringAgg delimiter =