Portability | unknown |
---|---|
Stability | experimental |
Maintainer | ex8k.hibino@gmail.com |
Safe Haskell | None |
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 whereSource
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 whereSource
Interface for constant SQL term list.
Methods
showConstantTermsSQL' :: a -> [StringSQL]Source
Instances
showConstantTermsSQL :: ShowConstantTermsSQL a => a -> [String]Source
String interface of showConstantTermsSQL'
.