Victor Denisov
|
86f782db72
|
Insert remaining values in insertAll and then throw exception
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
139a17248f
|
Fix tests
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
a828806940
|
Indent several lines
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
af49f43027
|
Fix splitAtLimit
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
e586fd51cc
|
some minor fixes
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
460c7e735b
|
User WriteFailure instead of WriteError
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
c6bd17f1f4
|
Replace IORefs with interruptibleFor
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
d9db9bca52
|
Add declaration of interruptibleFor function
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
316ae02ecc
|
Handle errors properly for ordered updates
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
f81d5ec42e
|
Handle exceptions in updateBlock
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
692cdb94c7
|
Mark update command as failed if there are write concern errors
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
6fe3cd982d
|
Fix unit tests
updateMany and updateAll don't throw exceptions.
They return UpdateResult which reports errors.
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
1898928cf0
|
Calculate filed total of update command
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
da0441d454
|
Process legacy command as in mongoc
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
29286fa2e0
|
Implement more careful processing of error codes
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
74e8aa205d
|
Keep write concern errors in list
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
b6fa6ea402
|
Add WriteConcernError to UpdateResult
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
10675a0673
|
Report errors in UpdateResult instead of Exceptions
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
5254793767
|
Throw exceptions in case of single document updates
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
5812753217
|
Add more documentation
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
399e2c3443
|
Return update result for old versions of mongodb
|
2017-04-09 20:43:54 -07:00 |
|
Victor Denisov
|
55df5635f1
|
Drop testing of GHC 7.6 and mongo 2.4
|
2017-04-09 13:54:19 -07:00 |
|
Victor Denisov
|
b33294eec3
|
Add docker-compose file for dev environment
|
2017-04-09 11:16:06 -07:00 |
|
Victor Denisov
|
a11d573ff1
|
Tests use env variable to find mongodb host
|
2017-04-09 10:20:10 -07:00 |
|
Victor Denisov
|
24f060b9d9
|
Bump version
|
2017-04-08 13:38:33 -07:00 |
|
Victor Denisov
|
fbaef31ef5
|
Add ghc 8.0.2 and mongod 3.4.3
|
2017-04-08 12:57:23 -07:00 |
|
Victor Denisov
|
37ef215537
|
Test against 7.10.3
|
2017-04-08 12:54:06 -07:00 |
|
Victor Denisov
|
d43b63d305
|
Merge pull request #73 from VictorDenisov/merge_gridfs
Merge gridfs
|
2016-11-25 20:20:02 -08:00 |
|
Victor Denisov
|
ae64ee6e4e
|
Fix haddock errors
|
2016-11-21 20:49:44 -08:00 |
|
Victor Denisov
|
a093e99733
|
Add changelog entry
|
2016-11-21 20:46:07 -08:00 |
|
Victor Denisov
|
55c3af60fa
|
Add dependencies
|
2016-11-20 19:30:35 -08:00 |
|
Victor Denisov
|
3e08136509
|
Add GridFS implementation.
This code is merged from: https://github.com/btubbs/haskell-gridfs
|
2016-11-20 19:23:47 -08:00 |
|
Victor Denisov
|
52b1473f9b
|
Merge pull request #72 from psibi/improve-doc
Add type signatures and extension in code
|
2016-11-09 01:02:49 -08:00 |
|
Sibi Prabakaran
|
7fcebcbb0a
|
Add type signatures and extension in code
Fixes #71
|
2016-11-07 21:13:56 +05:30 |
|
Victor Denisov
|
6e6c591065
|
Merge pull request #70 from VictorDenisov/write_hangs
Fix hanging write functions when connection is lost
|
2016-10-30 01:27:53 -07:00 |
|
Victor Denisov
|
af793261e8
|
Add changelog entry
|
2016-10-30 00:28:34 -07:00 |
|
Victor Denisov
|
746e670bf0
|
Drain remaining var in response queue
|
2016-10-30 00:08:40 -07:00 |
|
Victor Denisov
|
04e5dd3248
|
Return error if listening thread is closed
|
2016-10-30 00:08:40 -07:00 |
|
Victor Denisov
|
2d348449bc
|
Bump version
|
2016-08-27 20:55:55 -07:00 |
|
Victor Denisov
|
02a47e9108
|
Specify exact license in cabal file
|
2016-08-24 14:06:23 -07:00 |
|
Victor Denisov
|
438bd27b6d
|
Bump version
|
2016-08-13 21:14:52 -07:00 |
|
Victor Denisov
|
462646cf32
|
Merge pull request #64 from VictorDenisov/master
Drop MonadBaseControl from update and delete functions
|
2016-08-13 21:08:25 -07:00 |
|
Victor Denisov
|
4997fcde33
|
Add changelog entry
|
2016-08-06 17:29:33 -07:00 |
|
Victor Denisov
|
482fb570c3
|
Drop MonadBaseControl requirement
|
2016-08-06 15:17:03 -07:00 |
|
Victor Denisov
|
b9be757039
|
Restrict type of write function
|
2016-08-06 13:28:36 -07:00 |
|
Victor Denisov
|
8348045cc5
|
Inline send function
|
2016-08-05 20:29:20 -07:00 |
|
Victor Denisov
|
b34162f084
|
Put request function out of Action monad
|
2016-08-04 22:58:25 -07:00 |
|
Victor Denisov
|
419b3c19fb
|
Inline call function
|
2016-08-04 22:23:30 -07:00 |
|
Victor Denisov
|
b2ddd48cf9
|
Drop auto-all-exported as it fails with ghc 8
|
2016-07-17 00:23:01 -07:00 |
|
Victor Denisov
|
b0dcf4e5ea
|
Bump version
|
2016-06-25 16:09:51 -07:00 |
|