relational-query-0.7.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.Trans.Config

Contents

Description

This module defines monad transformer which requires query generate configuration.

Synopsis

Transformer into query with configuration

data QueryConfig m a Source

ReaderT type to require query generate configuration.

queryConfig :: Monad m => m a -> QueryConfig m a Source

Lift to QueryConfig.

runQueryConfig :: QueryConfig m a -> Config -> m a Source

Run QueryConfig to expand with configuration

askQueryConfig :: Monad m => QueryConfig m Config Source

Read configuration.