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

Copyright2013 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 query (not-aggregated) monad type.

type SimpleQuery r = OrderedQuery Flat QueryCore r Source

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

simple :: ConfigureQuery a -> QuerySimple a Source

Lift from qualified table forms into QuerySimple.

toSQL Source

Arguments

:: SimpleQuery 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 r

SimpleQuery to run

-> ConfigureQuery SubQuery

Result SubQuery with Qualify computation

Run SimpleQuery to get SubQuery with Qualify computation.