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

Copyright2013-2017 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

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.