Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
This module defines core query type.
- type QueryCore = Restrictings Flat (QueryJoin ConfigureQuery)
- extractCore :: QueryCore a -> ConfigureQuery (((a, QueryRestriction Flat), JoinProduct), Duplication)
- type OrderedQuery c m p r = Orderings c m (PlaceHolders p, Projection c r)
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
.