Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
This module defines monad transformer which lift to basic MonadQuery
.
- data QueryJoin m a
- join' :: Monad m => m a -> QueryJoin m a
- extractProduct :: Functor m => QueryJoin m a -> m ((a, JoinProduct), Duplication)
Transformer into join query
StateT
type to accumulate join product context.
MonadQualify ConfigureQuery QueryAggregate | Instance to lift from qualified table forms into |
MonadQualify ConfigureQuery (Orderings Flat QueryCore) | Instance to lift from qualified table forms into |
Monad m => Monad (QueryJoin m) | |
Functor m => Functor (QueryJoin m) | |
(Monad m, Functor m) => Applicative (QueryJoin m) | |
(Monad q, Functor q) => MonadQuery (QueryJoin q) | Joinable query instance. |
Result
extractProduct :: Functor m => QueryJoin m a -> m ((a, JoinProduct), Duplication) Source
Run QueryJoin
to get JoinProduct