Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | [email protected] |
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)) Source | 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 Source | Constant SQL terms of |
ShowConstantTermsSQL Char Source | Constant SQL terms of |
ShowConstantTermsSQL Double Source | Constant SQL terms of |
ShowConstantTermsSQL Float Source | Constant SQL terms of |
ShowConstantTermsSQL Int Source | Constant SQL terms of |
ShowConstantTermsSQL Int8 Source | Constant SQL terms of |
ShowConstantTermsSQL Int16 Source | Constant SQL terms of |
ShowConstantTermsSQL Int32 Source | Constant SQL terms of |
ShowConstantTermsSQL Int64 Source | Constant SQL terms of |
ShowConstantTermsSQL String Source | Constant SQL terms of |
ShowConstantTermsSQL ByteString Source | Constant SQL terms of |
ShowConstantTermsSQL ByteString Source | Constant SQL terms of |
ShowConstantTermsSQL Text Source | Constant SQL terms of |
ShowConstantTermsSQL Text Source | Constant SQL terms of |
ShowConstantTermsSQL LocalTime Source | Constant SQL terms of |
ShowConstantTermsSQL ZonedTime Source | Constant SQL terms of |
ShowConstantTermsSQL TimeOfDay Source | Constant SQL terms of |
ShowConstantTermsSQL UTCTime Source | Constant SQL terms of |
ShowConstantTermsSQL Day Source | Constant SQL terms of |
(PersistableWidth a, ShowConstantTermsSQL a) => ShowConstantTermsSQL (Maybe a) Source | Constant SQL terms of |
(ShowConstantTermsSQL a, ShowConstantTermsSQL b) => ShowConstantTermsSQL (a, b) Source | Constant SQL terms of '(a, b)' type. |
showConstantTermsSQL :: ShowConstantTermsSQL a => a -> [String] Source
String interface of showConstantTermsSQL'
.