Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
This module defines interfaces between haskell pure values and query internal projection values.
- class ProductConstructor r where
- productConstructor :: r
- class ShowConstantTermsSQL a where
- showConstantTermsSQL' :: a -> [StringSQL]
- showConstantTermsSQL :: ShowConstantTermsSQL a => a -> [String]
Interface to specify record constructors.
class ProductConstructor r where Source
Specify tuple like record constructors which are allowed to define ProjectableFunctor
.
productConstructor :: r Source
The constructor which has type r
.
ProductConstructor (a -> b -> (a, b)) | ProductConstructor instance of pair. |
Constant SQL Terms
class ShowConstantTermsSQL a where Source
Interface for constant SQL term list.
showConstantTermsSQL' :: a -> [StringSQL] Source
ShowConstantTermsSQL Bool | Constant SQL terms of |
ShowConstantTermsSQL Char | Constant SQL terms of |
ShowConstantTermsSQL Double | Constant SQL terms of |
ShowConstantTermsSQL Float | Constant SQL terms of |
ShowConstantTermsSQL Int | Constant SQL terms of |
ShowConstantTermsSQL Int16 | Constant SQL terms of |
ShowConstantTermsSQL Int32 | Constant SQL terms of |
ShowConstantTermsSQL Int64 | Constant SQL terms of |
ShowConstantTermsSQL String | Constant SQL terms of |
ShowConstantTermsSQL ByteString | Constant SQL terms of |
ShowConstantTermsSQL ByteString | Constant SQL terms of |
ShowConstantTermsSQL Text | Constant SQL terms of |
ShowConstantTermsSQL Text | Constant SQL terms of |
ShowConstantTermsSQL LocalTime | Constant SQL terms of |
ShowConstantTermsSQL TimeOfDay | Constant SQL terms of |
ShowConstantTermsSQL Day | Constant SQL terms of |
(PersistableWidth a, ShowConstantTermsSQL a) => ShowConstantTermsSQL (Maybe a) | Constant SQL terms of |
(ShowConstantTermsSQL a, ShowConstantTermsSQL b) => ShowConstantTermsSQL (a, b) | Constant SQL terms of '(a, b)' type. |
showConstantTermsSQL :: ShowConstantTermsSQL a => a -> [String] Source
String interface of showConstantTermsSQL'
.