From a7435bac06546755ad867732157d66b7043df99b Mon Sep 17 00:00:00 2001 From: charukiewicz Date: Thu, 12 Dec 2019 22:26:25 -0600 Subject: [PATCH] Exposed new SQL string functions added in v3.3.0 and bumped to v3.3.1 --- changelog.md | 6 ++++++ esqueleto.cabal | 2 +- src/Database/Esqueleto.hs | 3 ++- src/Database/Esqueleto/Internal/Language.hs | 3 ++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 1c905eb..134f4ec 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +3.3.1 +======== + +- @charukiewicz, @belevy, @joemalin95 + - [#167](https://github.com/bitemyapp/esqueleto/pull/167): Exposed functions that were added in `3.3.0` + 3.3.0 ======== diff --git a/esqueleto.cabal b/esqueleto.cabal index e116a15..e4c0b82 100644 --- a/esqueleto.cabal +++ b/esqueleto.cabal @@ -1,7 +1,7 @@ cabal-version: 1.12 name: esqueleto -version: 3.3.0 +version: 3.3.1 synopsis: Type-safe EDSL for SQL queries on persistent backends. description: @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends. Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked @esqueleto@ queries that fail at runtime. . diff --git a/src/Database/Esqueleto.hs b/src/Database/Esqueleto.hs index 1840394..8616815 100644 --- a/src/Database/Esqueleto.hs +++ b/src/Database/Esqueleto.hs @@ -48,7 +48,8 @@ module Database.Esqueleto , random_, round_, ceiling_, floor_ , min_, max_, sum_, avg_, castNum, castNumM , coalesce, coalesceDefault - , lower_, like, ilike, (%), concat_, (++.), castString + , lower_, upper_, trim_, ltrim_, rtrim_, length_, left_, right_ + , like, ilike, (%), concat_, (++.), castString , subList_select, valList, justList , in_, notIn, exists, notExists , set, (=.), (+=.), (-=.), (*=.), (/=.) diff --git a/src/Database/Esqueleto/Internal/Language.hs b/src/Database/Esqueleto/Internal/Language.hs index a6fe103..a5d5a4e 100644 --- a/src/Database/Esqueleto/Internal/Language.hs +++ b/src/Database/Esqueleto/Internal/Language.hs @@ -51,7 +51,8 @@ module Database.Esqueleto.Internal.Language , random_, round_, ceiling_, floor_ , min_, max_, sum_, avg_, castNum, castNumM , coalesce, coalesceDefault - , lower_, like, ilike, (%), concat_, (++.), castString + , lower_, upper_, trim_, ltrim_, rtrim_, length_, left_, right_ + , like, ilike, (%), concat_, (++.), castString , subList_select, valList, justList , in_, notIn, exists, notExists , set, (=.), (+=.), (-=.), (*=.), (/=.)