opaleye-0.4.0.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell98

Opaleye.Operators

Synopsis

Documentation

restrict :: QueryArr (Column PGBool) () Source

Restrict query results to a particular condition. Corresponds to the guard method of the MonadPlus class.

(.==) :: Column a -> Column a -> Column PGBool infix 4 Source

(./=) :: Column a -> Column a -> Column PGBool infix 4 Source

(.>) :: PGOrd a => Column a -> Column a -> Column PGBool infix 4 Source

(.<) :: PGOrd a => Column a -> Column a -> Column PGBool infix 4 Source

(.<=) :: PGOrd a => Column a -> Column a -> Column PGBool infix 4 Source

(.>=) :: PGOrd a => Column a -> Column a -> Column PGBool infix 4 Source

in_ :: (Functor f, Foldable f) => f (Column a) -> Column a -> Column PGBool Source