relational-query-0.6.1.0: Typeful, Modular, Relational, algebraic query engine

Copyright2013 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Database.Relational.Query.Monad.Aggregate

Contents

Description

This module contains definitions about aggregated query type.

Synopsis

Aggregated Query

toSQL Source

Arguments

:: AggregatedQuery p r

AggregatedQuery to run

-> ConfigureQuery String

Result SQL string with ConfigureQuery computation

Run AggregatedQuery to get SQL with ConfigureQuery computation.

type Window c = Orderings c (PartitioningSet c) Source

Partition monad type for partition-by clause.

over :: SqlProjectable (Projection c) => Projection OverWindow a -> Window c () -> Projection c a infix 8 Source

Operator to make window function result projection using built Window monad.