| Copyright | 2013 Kei Hibino |
|---|---|
| License | BSD3 |
| Maintainer | ex8k.hibino@gmail.com |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.Relational.Query.Pure
Description
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.
Instances
| ProductConstructor (a -> b -> (a, b)) | ProductConstructor instance of pair. |
Constant SQL Terms
class ShowConstantTermsSQL a where Source
Interface for constant SQL term list.
Methods
showConstantTermsSQL' :: a -> [StringSQL] Source
Instances
| 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'.