on master help sign in
Document Rel8.Expr.Ord
commit0787c47de8e78b0fc8664b07aaabab60ec3089c5 authorOllie Charles <ollie@ocharles.org.uk> dateTue 23 Mar 2021, 16:30 (6 years ago) parentd919181
1 file changed+4
src/Rel8/Expr/Ord.hs+4
src/Rel8/Expr/Ord.hs+4
@@ -72,21 +72,25 @@ sge = \case
7272 NonNullable -> ge
7373
7474
75+-- | The PostgreSQL @<@ operator.
7576(<.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
7677(<.) = slt nullabilization
7778infix 4 <.
7879
7980
81+-- | The PostgreSQL @<=@ operator.
8082(<=.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
8183(<=.) = sle nullabilization
8284infix 4 <=.
8385
8486
87+-- | The PostgreSQL @>@ operator.
8588(>.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
8689(>.) = sgt nullabilization
8790infix 4 >.
8891
8992
93+-- | The PostgreSQL @>=@ operator.
9094(>=.) :: (DBOrd db, Nullabilizes db a) => Expr a -> Expr a -> Expr Bool
9195(>=.) = sge nullabilization
9296infix 4 >=.