Portability  unknown 

Stability  experimental 
Maintainer  ex8k.hibino@gmail.com 
Safe Haskell  None 
This module contains definitions about aggregated query type.
 type QueryAggregate = Orderings Aggregated (Restrictings Aggregated (AggregatingSetT QueryCore))
 type AggregatedQuery p r = OrderedQuery Aggregated (Restrictings Aggregated (AggregatingSetT QueryCore)) p r
 toSQL :: AggregatedQuery p r > ConfigureQuery String
 toSubQuery :: AggregatedQuery p r > ConfigureQuery SubQuery
 type Window c = Orderings c (PartitioningSet c)
 partitionBy :: Projection c r > Window c ()
 over :: SqlProjectable (Projection c) => Projection OverWindow a > Window c () > Projection c a
Aggregated Query
type QueryAggregate = Orderings Aggregated (Restrictings Aggregated (AggregatingSetT QueryCore))Source
Aggregated query monad type.
type AggregatedQuery p r = OrderedQuery Aggregated (Restrictings Aggregated (AggregatingSetT QueryCore)) p rSource
Aggregated query type. AggregatedQuery
p r == QueryAggregate
(PlaceHolders
p, Projection
Aggregated
r).
:: AggregatedQuery p r 

> ConfigureQuery String  Result SQL string with 
Run AggregatedQuery
to get SQL with ConfigureQuery
computation.
:: AggregatedQuery p r 

> ConfigureQuery SubQuery  Result 
Run AggregatedQuery
to get SubQuery
with ConfigureQuery
computation.
type Window c = Orderings c (PartitioningSet c)Source
Partition monad type for partitionby clause.
partitionBy :: Projection c r > Window c ()Source
Add PARTITION BY term into context.
over :: SqlProjectable (Projection c) => Projection OverWindow a > Window c () > Projection c aSource
Operator to make window function projection.