opaleye-0.2: An SQL-generating DSL targeting PostgreSQL

Safe HaskellSafe-Inferred
LanguageHaskell98

Opaleye.Internal.Column

Synopsis

Documentation

newtype Column a Source

The Num and Fractional instances for Column a are too general. For example, they allow you to add two Column Strings. This will be fixed in a subsequent release.

Constructors

Column PrimExpr 

binOp :: BinOp -> Column a -> Column b -> Column c Source

case_ :: [(Column Bool, Column a)] -> Column a -> Column a Source