mirror of
https://github.com/circuithub/rel8.git
synced 2024-09-19 05:17:08 +03:00
Document Rel8.Expr.Ord
This commit is contained in:
parent
d9191817e8
commit
0787c47de8
@ -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 >=.
|
||||
|
Loading…
Reference in New Issue
Block a user