Bump version to 2.1.2.
This commit is contained in:
parent
88553f657d
commit
40c4528540
@ -1,5 +1,5 @@
|
|||||||
name: esqueleto
|
name: esqueleto
|
||||||
version: 2.1.1
|
version: 2.1.2
|
||||||
synopsis: Type-safe EDSL for SQL queries on persistent backends.
|
synopsis: Type-safe EDSL for SQL queries on persistent backends.
|
||||||
homepage: https://github.com/prowdsponsor/esqueleto
|
homepage: https://github.com/prowdsponsor/esqueleto
|
||||||
license: BSD3
|
license: BSD3
|
||||||
|
|||||||
@ -379,7 +379,7 @@ class (Functor query, Applicative query, Monad query) =>
|
|||||||
-- if the @ELSE@ is omitted it will return a @NULL@. You can
|
-- if the @ELSE@ is omitted it will return a @NULL@. You can
|
||||||
-- reproduce this via 'nothing'.
|
-- reproduce this via 'nothing'.
|
||||||
--
|
--
|
||||||
-- Since: 2.1.1
|
-- /Since: 2.1.2/
|
||||||
case_ :: PersistField a => [(expr (Value Bool), expr (Value a))] -> expr (Value a) -> expr (Value a)
|
case_ :: PersistField a => [(expr (Value Bool), expr (Value a))] -> expr (Value a) -> expr (Value a)
|
||||||
|
|
||||||
-- Fixity declarations
|
-- Fixity declarations
|
||||||
@ -392,14 +392,20 @@ infixr 3 &&., =., +=., -=., *=., /=.
|
|||||||
infixr 2 ||., `InnerJoin`, `CrossJoin`, `LeftOuterJoin`, `RightOuterJoin`, `FullOuterJoin`, `like`
|
infixr 2 ||., `InnerJoin`, `CrossJoin`, `LeftOuterJoin`, `RightOuterJoin`, `FullOuterJoin`, `like`
|
||||||
|
|
||||||
-- | Syntax sugar for 'case_'.
|
-- | Syntax sugar for 'case_'.
|
||||||
|
--
|
||||||
|
-- /Since: 2.1.2/
|
||||||
when_ :: expr (Value Bool) -> () -> expr a -> (expr (Value Bool), expr a)
|
when_ :: expr (Value Bool) -> () -> expr a -> (expr (Value Bool), expr a)
|
||||||
when_ cond _ expr = (cond, expr)
|
when_ cond _ expr = (cond, expr)
|
||||||
|
|
||||||
-- | Syntax sugar for 'case_'.
|
-- | Syntax sugar for 'case_'.
|
||||||
|
--
|
||||||
|
-- /Since: 2.1.2/
|
||||||
then_ :: ()
|
then_ :: ()
|
||||||
then_ = ()
|
then_ = ()
|
||||||
|
|
||||||
-- | Syntax sugar for 'case_'.
|
-- | Syntax sugar for 'case_'.
|
||||||
|
--
|
||||||
|
-- /Since: 2.1.2/
|
||||||
else_ :: expr a -> expr a
|
else_ :: expr a -> expr a
|
||||||
else_ = id
|
else_ = id
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user