Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- newtype Column a = Column PrimExpr
- data Nullable a = Nullable
- unColumn :: Column a -> PrimExpr
- unsafeCoerce :: Column a -> Column b
- unsafeCoerceColumn :: Column a -> Column b
- unsafeCompositeField :: Column a -> String -> Column b
- binOp :: BinOp -> Column a -> Column b -> Column c
- unOp :: UnOp -> Column a -> Column b
- unsafeCase_ :: [(Column pgBool, Column a)] -> Column a -> Column a
- unsafeIfThenElse :: Column pgBool -> Column a -> Column a -> Column a
- unsafeGt :: Column a -> Column a -> Column pgBool
- unsafeEq :: Column a -> Column a -> Column pgBool
- class PGNum a where
- pgFromInteger :: Integer -> Column a
- class PGFractional a where
- pgFromRational :: Rational -> Column a
Documentation
unsafeCoerce :: Column a -> Column b Source
Deprecated: Use unsafeCoerceColumn instead
unsafeCoerceColumn :: Column a -> Column b Source
unsafeCompositeField :: Column a -> String -> Column b Source
pgFromInteger :: Integer -> Column a Source
class PGFractional a where Source
pgFromRational :: Rational -> Column a Source