on master help sign in
Document stringAgg
commit00a36f56612599e87705345f99f5659876d34bd8 authorOllie Charles <ollie@ocharles.org.uk> dateWed 24 Mar 2021, 13:20 (6 years ago) parenta426aae
1 file changed+1
src/Rel8/Expr/Aggregate.hs+1
src/Rel8/Expr/Aggregate.hs+1
@@ -135,6 +135,7 @@ sumWhere :: (Sql DBNum a, Sql DBSum a)
135135sumWhere condition a = sum (caseExpr [(condition, a)] 0)
136136
137137
138+-- | Corresponds to @string_agg()@.
138139stringAgg :: Sql DBString a
139140 => Expr db -> Expr a -> Aggregate (Expr a)
140141stringAgg delimiter =