rethinkdb-client-driver 0.0.17 → 0.0.18
raw patch · 3 files changed
+9/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Database.RethinkDB: Sub :: [Exp a] -> Exp a
Files
- rethinkdb-client-driver.cabal +1/−1
- src/Database/RethinkDB/Messages.hs +2/−0
- src/Database/RethinkDB/Types.hs +6/−0
rethinkdb-client-driver.cabal view
@@ -1,5 +1,5 @@ name: rethinkdb-client-driver-version: 0.0.17+version: 0.0.18 license: MIT license-file: LICENSE author: Tomas Carnecky
src/Database/RethinkDB/Messages.hs view
@@ -26,6 +26,8 @@ import Database.RethinkDB.Types +import Prelude+ createSocket :: Text -> Int -> IO Socket
src/Database/RethinkDB/Types.hs view
@@ -29,8 +29,10 @@ import Database.RethinkDB.Types.Datum +import Prelude + ------------------------------------------------------------------------------ -- | A Term is a JSON expression which can be sent to the server. Building a -- term is a stateful operation, so the whole process happens inside a 'State'@@ -399,6 +401,7 @@ GetAllIndexed :: (IsDatum a) => Exp Table -> [Exp a] -> Text -> Exp (Sequence Datum) Add :: (Num a) => [Exp a] -> Exp a+ Sub :: (Num a) => [Exp a] -> Exp a Multiply :: (Num a) => [Exp a] -> Exp a All :: [Exp Bool] -> Exp Bool@@ -599,6 +602,9 @@ toTerm (Add values) = simpleTerm 24 (map SomeExp values)++ toTerm (Sub values) =+ simpleTerm 25 (map SomeExp values) toTerm (Multiply values) = simpleTerm 26 (map SomeExp values)