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

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

Database.Relational.Query.Monad.Type

Contents

Description

This module defines core query type.

Synopsis

Core query monad

type QueryCore = Restrictings Flat (QueryJoin ConfigureQuery) Source #

Core query monad type used from flat(not-aggregated) query and aggregated query.

extractCore :: QueryCore a -> ConfigureQuery (((a, QueryRestriction Flat), JoinProduct), Duplication) Source #

Extract QueryCore computation.

type OrderedQuery c m p r = Orderings c m (PlaceHolders p, Projection c r) Source #

OrderedQuery monad type with placeholder type p. Projection must be the same as Orderings context type parameter c.