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

Portabilityunknown
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellNone

Database.Relational.Query.Monad.Simple

Contents

Description

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

Synopsis

Simple query

type QuerySimple = Orderings Flat QueryCoreSource

Simple query (not-aggregated) monad type.

type SimpleQuery r = OrderedQuery Flat QueryCore rSource

Simple query (not-aggregated) query type. SimpleQuery r == QuerySimple (Projection r).

simple :: ConfigureQuery a -> QuerySimple aSource

Lift from qualified table forms into QuerySimple.

toSQLSource

Arguments

:: SimpleQuery r

SimpleQuery to run

-> ConfigureQuery String

Result SQL string with Qualify computation

Run SimpleQuery to get SQL string with Qualify computation.

toSubQuerySource

Arguments

:: SimpleQuery r

SimpleQuery to run

-> ConfigureQuery SubQuery

Result SubQuery with Qualify computation

Run SimpleQuery to get SubQuery with Qualify computation.