Document Rel8.Expr.Ord

This commit is contained in:
Ollie Charles 2021-03-23 16:30:57 +00:00
parent d9191817e8
commit 0787c47de8

View File

@ -72,21 +72,25 @@ sge = \case
NonNullable -> ge
-- | The PostgreSQL @<@ operator.
(<.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
(<.) = slt nullabilization
infix 4 <.
-- | The PostgreSQL @<=@ operator.
(<=.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
(<=.) = sle nullabilization
infix 4 <=.
-- | The PostgreSQL @>@ operator.
(>.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
(>.) = sgt nullabilization
infix 4 >.
-- | The PostgreSQL @>=@ operator.
(>=.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
(>=.) = sge nullabilization
infix 4 >=.