relational-query 0.6.2.0 → 0.6.3.0
raw patch · 3 files changed
+10/−2 lines, 3 files
Files
- ChangeLog.md +4/−0
- relational-query.cabal +1/−1
- src/Database/Relational/Query/Pure.hs +5/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.6.3.0++- Add Int8 type as SQL constant int value. (e.g. MySQL)+ ## 0.6.2.0 - Make InsertQuery type as PreparedNoFetch instance.
relational-query.cabal view
@@ -1,5 +1,5 @@ name: relational-query-version: 0.6.2.0+version: 0.6.3.0 synopsis: Typeful, Modular, Relational, algebraic query engine description: This package contiains typeful relation structure and relational-algebraic query building DSL which can
src/Database/Relational/Query/Pure.hs view
@@ -21,7 +21,7 @@ ) where import Data.Monoid (mconcat)-import Data.Int (Int16, Int32, Int64)+import Data.Int (Int8, Int16, Int32, Int64) import Data.ByteString (ByteString) import qualified Data.ByteString.Lazy as LB import Data.Text (Text)@@ -78,6 +78,10 @@ -- | String interface of 'showConstantTermsSQL''. showConstantTermsSQL :: ShowConstantTermsSQL a => a -> [String] showConstantTermsSQL = map showStringSQL . showConstantTermsSQL'++-- | Constant SQL terms of 'Int8'.+instance ShowConstantTermsSQL Int8 where+ showConstantTermsSQL' = intTermsSQL -- | Constant SQL terms of 'Int16'. instance ShowConstantTermsSQL Int16 where