relational-query-0.12.3.1: Typeful, Modular, Relational, algebraic query engine
Copyright2013-2017 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Relational.Monad.Aggregate

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 :: SqlContext c => Record OverWindow a -> Window c () -> Record c a infix 8 Source #

Operator to make record of window function result using built Window monad.

Orphan instances