diff --git a/esqueleto.cabal b/esqueleto.cabal index 231f4a1..4321a32 100644 --- a/esqueleto.cabal +++ b/esqueleto.cabal @@ -1,5 +1,5 @@ name: esqueleto -version: 1.4.2 +version: 1.4.3 synopsis: Type-safe EDSL for SQL queries on persistent backends. homepage: https://github.com/prowdsponsor/esqueleto license: BSD3 diff --git a/src/Database/Esqueleto/Internal/Language.hs b/src/Database/Esqueleto/Internal/Language.hs index 38617f1..071ae82 100644 --- a/src/Database/Esqueleto/Internal/Language.hs +++ b/src/Database/Esqueleto/Internal/Language.hs @@ -258,11 +258,15 @@ class (Functor query, Applicative query, Monad query) => -- (Nothing) otherwise. Some RDBMSs (such as SQLite) require -- at least two arguments; please refer to the appropriate -- documentation. + -- + -- /Since: 1.4.3/ coalesce :: PersistField a => [expr (Value (Maybe a))] -> expr (Value (Maybe a)) -- | Like @coalesce@, but takes a non-nullable expression -- placed at the end of the expression list, which guarantees -- a non-NULL result. + -- + -- /Since: 1.4.3/ coalesceDefault :: PersistField a => [expr (Value (Maybe a))] -> expr (Value a) -> expr (Value a) -- | @LIKE@ operator.