From 15ba90784e225191997cb34c07be670648fcb163 Mon Sep 17 00:00:00 2001 From: Victor Denisov Date: Sun, 19 Jun 2016 17:03:58 -0700 Subject: [PATCH] Fix bulk update documentation --- Database/MongoDB/Query.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Database/MongoDB/Query.hs b/Database/MongoDB/Query.hs index 4e0a1ce..6f028c4 100644 --- a/Database/MongoDB/Query.hs +++ b/Database/MongoDB/Query.hs @@ -565,7 +565,7 @@ updateCommandDocument col ordered updates writeConcern = , "writeConcern" =: writeConcern ] -{-| Bulk update operation. If one insert fails it will not insert the remaining +{-| Bulk update operation. If one update fails it will not update the remaining - documents. Current returned value is only a place holder. With mongodb server - before 2.6 it will send update requests one by one. After 2.6 it will use - bulk update feature in mongodb. @@ -576,7 +576,7 @@ updateMany :: (MonadBaseControl IO m, MonadIO m) -> Action m UpdateResult updateMany = update' True -{-| Bulk update operation. If one insert fails it will proceed with the +{-| Bulk update operation. If one update fails it will proceed with the - remaining documents. Current returned value is only a place holder. With - mongodb server before 2.6 it will send update requests one by one. After 2.6 - it will use bulk update feature in mongodb.