Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- restrict :: SelectArr (Field SqlBool) ()
- (.==) :: forall columns. Default EqPP columns columns => columns -> columns -> Column PGBool
- (.||) :: Field SqlBool -> Field SqlBool -> Field SqlBool
- (.&&) :: Column PGBool -> Column PGBool -> Column PGBool
- not :: Field SqlBool -> Field SqlBool
- newtype EqPP a b = EqPP (a -> a -> Column PGBool)
- eqPPField :: EqPP (Column a) ignored
- eqExplicit :: EqPP columns a -> columns -> columns -> Column PGBool
- newtype IfPP a b = IfPP (Column PGBool -> a -> a -> b)
- ifExplict :: IfPP columns columns' -> Column PGBool -> columns -> columns -> columns'
- ifPPField :: IfPP (Column a) (Column a)
- data RelExprMaker a b = RelExprMaker {
- relExprVCM :: ViewColumnMaker a c
- relExprCM :: Unpackspec c b
- relExprColumn :: RelExprMaker String (Column a)
- runRelExprMaker :: RelExprMaker strings columns -> Tag -> strings -> (columns, [(Symbol, PrimExpr)])
- relationValuedExprExplicit :: RelExprMaker strings columns -> strings -> (a -> PrimExpr) -> QueryArr a columns
- relationValuedExpr :: Default RelExprMaker strings columns => strings -> (a -> PrimExpr) -> QueryArr a columns
Documentation
(.==) :: forall columns. Default EqPP columns columns => columns -> columns -> Column PGBool infix 4 Source #
Instances
Profunctor EqPP Source # | |
ProductProfunctor EqPP Source # | |
Default EqPP (Column a) (Column a) Source # | |
Default EqPP a b => Default EqPP (MaybeFields a) (MaybeFields b) Source # | |
Defined in Opaleye.Internal.MaybeFields def :: EqPP (MaybeFields a) (MaybeFields b) # |
Instances
Profunctor IfPP Source # | |
ProductProfunctor IfPP Source # | |
Default IfPP (Column a) (Column a) Source # | |
Default IfPP a b => Default IfPP (MaybeFields a) (MaybeFields b) Source # | |
Defined in Opaleye.Internal.MaybeFields def :: IfPP (MaybeFields a) (MaybeFields b) # |
data RelExprMaker a b Source #
RelExprMaker | |
|
Instances
Profunctor RelExprMaker Source # | |
Defined in Opaleye.Internal.Operators dimap :: (a -> b) -> (c -> d) -> RelExprMaker b c -> RelExprMaker a d # lmap :: (a -> b) -> RelExprMaker b c -> RelExprMaker a c # rmap :: (b -> c) -> RelExprMaker a b -> RelExprMaker a c # (#.) :: Coercible c b => q b c -> RelExprMaker a b -> RelExprMaker a c # (.#) :: Coercible b a => RelExprMaker b c -> q a b -> RelExprMaker a c # | |
ProductProfunctor RelExprMaker Source # | |
Defined in Opaleye.Internal.Operators purePP :: b -> RelExprMaker a b # (****) :: RelExprMaker a (b -> c) -> RelExprMaker a b -> RelExprMaker a c # empty :: RelExprMaker () () # (***!) :: RelExprMaker a b -> RelExprMaker a' b' -> RelExprMaker (a, a') (b, b') # | |
Default RelExprMaker String (Column a) Source # | |
Defined in Opaleye.Internal.Operators def :: RelExprMaker String (Column a) # |
relExprColumn :: RelExprMaker String (Column a) Source #
runRelExprMaker :: RelExprMaker strings columns -> Tag -> strings -> (columns, [(Symbol, PrimExpr)]) Source #
relationValuedExprExplicit :: RelExprMaker strings columns -> strings -> (a -> PrimExpr) -> QueryArr a columns Source #
relationValuedExpr :: Default RelExprMaker strings columns => strings -> (a -> PrimExpr) -> QueryArr a columns Source #