on master help sign in
Document aggregate
commit03b366bc914564eca69b304ff3a3b88bc3976d5e authorOllie Charles <ollie@ocharles.org.uk> dateTue 23 Mar 2021, 16:26 (6 years ago) parentb2c47ab
1 file changed+1
src/Rel8/Query/Aggregate.hs+1
src/Rel8/Query/Aggregate.hs+1
@@ -18,5 +18,6 @@ import Rel8.Query.Opaleye ( mapOpaleye )
1818import Rel8.Table.Opaleye ( aggregator )
1919
2020
21+-- | Apply an aggregation to all rows returned by a 'Query'.
2122aggregate :: Query (Aggregate exprs) -> Query exprs
2223aggregate = mapOpaleye (Opaleye.aggregate aggregator)