Portability | unknown |
---|---|
Stability | experimental |
Maintainer | [email protected] |
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 -> [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 -> [String]Source
Instances