relational-query-0.9.4.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.Simple

Contents

Description

This module contains definitions about simple (not-aggregated) query type.

Synopsis

Simple query

type QuerySimple = Orderings Flat QueryCore Source #

Simple (not-aggregated) query monad type.

type SimpleQuery p r = OrderedQuery Flat QueryCore p r Source #

Simple (not-aggregated) query type. SimpleQuery' p r == QuerySimple (PlaceHolders p, Projection r).

simple :: ConfigureQuery a -> QuerySimple a Source #

Lift from qualified table forms into QuerySimple.

toSQL Source #

Arguments

:: SimpleQuery p r

SimpleQuery to run

-> ConfigureQuery String

Result SQL string with Qualify computation

Run SimpleQuery to get SQL string with Qualify computation.

toSubQuery Source #

Arguments

:: SimpleQuery p r

SimpleQuery' to run

-> ConfigureQuery SubQuery

Result SubQuery with Qualify computation

Run SimpleQuery to get SubQuery with Qualify computation.