Copyright | 2013-2017 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
This module contains definitions about simple (not-aggregated) query type.
Synopsis
- type QuerySimple = Orderings Flat QueryCore
- type SimpleQuery p r = OrderedQuery Flat QueryCore p r
- simple :: ConfigureQuery a -> QuerySimple a
- toSQL :: SimpleQuery p r -> ConfigureQuery String
- toSubQuery :: SimpleQuery p r -> ConfigureQuery SubQuery
Simple query
type SimpleQuery p r = OrderedQuery Flat QueryCore p r Source #
Simple (not-aggregated) query type. SimpleQuery'
p r == QuerySimple
(PlaceHolders
p, Record
r).
simple :: ConfigureQuery a -> QuerySimple a Source #
Lift from qualified table forms into QuerySimple
.
:: SimpleQuery p r |
|
-> ConfigureQuery String | Result SQL string with |
Run SimpleQuery
to get SQL string with Qualify
computation.
:: SimpleQuery p r |
|
-> ConfigureQuery SubQuery | Result |
Run SimpleQuery
to get SubQuery
with Qualify
computation.