Safe Haskell | None |
---|---|
Language | Haskell98 |
- restrict :: QueryArr (Column PGBool) ()
- keepWhen :: (a -> Column PGBool) -> QueryArr a a
- doubleOfInt :: Column PGInt4 -> Column PGFloat8
- (.==) :: Column a -> Column a -> Column PGBool
- (./=) :: Column a -> Column a -> Column PGBool
- (.===) :: Default EqPP columns columns => columns -> columns -> Column PGBool
- (./==) :: Default EqPP columns columns => columns -> columns -> Column PGBool
- (.>) :: PGOrd a => Column a -> Column a -> Column PGBool
- (.<) :: PGOrd a => Column a -> Column a -> Column PGBool
- (.<=) :: PGOrd a => Column a -> Column a -> Column PGBool
- (.>=) :: PGOrd a => Column a -> Column a -> Column PGBool
- quot_ :: PGIntegral a => Column a -> Column a -> Column a
- rem_ :: PGIntegral a => Column a -> Column a -> Column a
- case_ :: [(Column PGBool, Column a)] -> Column a -> Column a
- ifThenElse :: Column PGBool -> Column a -> Column a -> Column a
- (.||) :: Column PGBool -> Column PGBool -> Column PGBool
- not :: Column PGBool -> Column PGBool
- (.++) :: Column PGText -> Column PGText -> Column PGText
- lower :: Column PGText -> Column PGText
- upper :: Column PGText -> Column PGText
- like :: Column PGText -> Column PGText -> Column PGBool
- charLength :: PGString a => Column a -> Column Int
- ors :: Foldable f => f (Column PGBool) -> Column PGBool
- in_ :: (Functor f, Foldable f) => f (Column a) -> Column a -> Column PGBool
- inQuery :: Default EqPP columns columns => columns -> QueryArr () columns -> Query (Column PGBool)
- timestamptzAtTimeZone :: Column PGTimestamptz -> Column PGText -> Column PGTimestamp
- emptyArray :: IsSqlType a => Column (PGArray a)
- arrayPrepend :: Column a -> Column (PGArray a) -> Column (PGArray a)
- singletonArray :: IsSqlType a => Column a -> Column (PGArray a)
- (.&&) :: Column PGBool -> Column PGBool -> Column PGBool
Documentation
(.===) :: Default EqPP columns columns => columns -> columns -> Column PGBool infix 4 Source
A polymorphic equality operator that works for all types that you
have run makeAdaptorAndInstance
on. This may be unified with
.==
in a future version.
(./==) :: Default EqPP columns columns => columns -> columns -> Column PGBool infix 4 Source
A polymorphic inequality operator that works for all types that
you have run makeAdaptorAndInstance
on. This may be unified with
.==
in a future version.
ors :: Foldable f => f (Column PGBool) -> Column PGBool Source
True when any element of the container is true
inQuery :: Default EqPP columns columns => columns -> QueryArr () columns -> Query (Column PGBool) Source
True if the first argument occurs amongst the rows of the second, false otherwise.
This operation is equivalent to Postgres's IN
operator but, for
expediency, is currently implemented using a LEFT JOIN
. Please
file a bug if this causes any issues in practice.
emptyArray :: IsSqlType a => Column (PGArray a) Source