Sean Leather
61c333eee1
Link 'find' and 'delete' in 'select' documentation
2014-03-09 17:21:30 +02:00
Sergei Lebedev
e8f6341756
Merge pull request #21 from fujimura/update-example-hs
...
Update example and readme
2014-03-02 13:15:17 +03:00
Fujimura Daisuke
ea04393c3f
Update repo owner name in README.md
2014-03-02 15:50:48 +09:00
Fujimura Daisuke
bccb3bd159
Do explicit import in Example.hs
...
This will be helpful for the people who is new to this library.
2014-03-02 15:50:04 +09:00
Fujimura Daisuke
16e4fdce26
Add type annotations to Example.hs
2014-03-02 14:54:56 +09:00
Fedor Gogolev
6e4decfa95
Bump version
2013-12-21 17:27:18 +04:00
Fedor Gogolev
c88653ab60
Compile without warnings in 7.4 and 7.6
2013-12-21 17:27:02 +04:00
Fedor Gogolev
721360cb3f
Bump version
2013-12-21 15:43:46 +04:00
Fedor Gogolev
6b59e2d832
Return DoRec pragma, so it's compilable in GHC 7.4
...
Fixes #19
2013-12-21 15:43:33 +04:00
Fedor Gogolev
e0f3ef430d
Add travis ci configuration
2013-12-21 15:15:47 +04:00
Fedor Gogolev
df5afb99c8
Bump version
2013-12-20 10:44:09 +04:00
Fedor Gogolev
beee0c055b
Merge pull request #17 from ezyang/master
...
Convert to use hashtables, as Data.HashTable went away.
2013-12-19 22:36:38 -08:00
Edward Z. Yang
4ce8a44011
Fix some warnings.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2013-11-06 23:15:50 -08:00
Edward Z. Yang
5656f90c27
Convert to use hashtables, as Data.HashTable went away.
...
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2013-11-06 23:04:16 -08:00
Fedor Gogolev
6b37a429d4
Merge pull request #15 from gregwebs/fix-findAndModify
...
handle findAndModify edge cases
2013-09-02 09:13:12 -07:00
Greg Weber
57722a7d43
handle findAndModify edge cases
...
also give better error messages
2013-08-29 11:57:07 -07:00
Fedor Gogolev
dda18bf8d1
Version bump
2013-06-20 12:03:11 +04:00
Fedor Gogolev
33e9bcf67d
Merge pull request #12 from gregwebs/findAndModify
...
add findAndModify command
2013-06-19 05:22:24 -07:00
Greg Weber
45a0e8e9e2
add findAndModify command
2013-06-06 08:00:00 -07:00
Fedor Gogolev
5a6e8842bd
Bumped version
2013-06-04 00:10:13 +04:00
Fedor Gogolev
06dad66ce0
Merge pull request #10 from tvh/master
...
Add Support for Aggregate Framework
2013-05-23 15:19:24 -07:00
Timo von Holtz
83cae75efc
Added Support for Aggregate Framework
2013-05-24 00:15:56 +02:00
Fedor Gogolev
46b3f1f3fa
Support for network 2.4.1
2013-01-21 02:08:20 +04:00
Fedor Gogolev
96c876979c
Bumped version
2012-10-25 14:31:44 +04:00
Fedor Gogolev
62ae52ecd2
Merge pull request #5 from alevy/ghc76
...
GHC 7.6 Support
2012-10-25 02:27:06 -07:00
Amit Aryeh Levy
5ce857a4db
Make sure 7.6 modifications stil compile with 7.4
2012-10-23 16:49:29 -04:00
Amit Aryeh Levy
ed0c264a35
GHC 7.6 Support
...
lifted-base no longer contains addMVarFinalizer
2012-10-19 02:29:10 -07:00
Sergei Lebedev
bbe6138fea
Merge pull request #4 from snoyberg/master
...
GHC 7.6 support
2012-09-11 09:45:00 -07:00
Michael Snoyman
681f9f875f
GHC 7.6 support
2012-09-10 20:25:45 +03:00
Fedor Gogolev
4ae4f793e3
Function eval
returns Val v
instead of Document
...
Fixes #1
2012-07-09 08:26:58 +04:00
Fedor Gogolev
a6ecd104f7
Updated homepage
2012-06-11 00:28:27 +04:00
Fedor Gogolev
a0f0f04d8b
Updated maintainer field
2012-06-11 00:27:27 +04:00
Fedor Gogolev
b11c01fc00
Specified required bson version to 0.2.*
2012-06-11 00:26:56 +04:00
Fedor Gogolev
8a02b8056e
Improved cabal-file readability
2012-06-11 00:26:36 +04:00
Fedor Gogolev
dd6a3010f6
Cleaned up imports
2012-06-10 23:47:14 +04:00
Fedor Gogolev
17f528e835
Use text instead of compact-string-fix
2012-05-08 19:13:25 +04:00
Tony Hannan
3f3cd028da
Merge pull request #20 from yesodweb/fno-warn-orphans
...
Fno warn orphans
2012-02-29 12:06:47 -08:00
Greg Weber
3c77f29e83
ignore dist/
2012-02-29 11:36:14 -08:00
Greg Weber
b706780844
use -fno-warn-orphans
2012-02-29 11:35:55 -08:00
Tony Hannan
a618ebbf95
Merge pull request #16 from A1kmm/master
...
Add routedHost as an alternative to primary / secondaryOk that lets the user supply their own sort function
2012-02-20 08:10:33 -08:00
Andrew Miller
d3f54922cc
Add routedHost as an alternative to primary / secondaryOk that lets the user supply their own sort function. This is useful for applications like preferentially connecting to the host or secondary that is geographically the closest.
2012-02-12 17:34:07 +13:00
Tony Hannan
5e015dc769
Merge pull request #14 from yesodweb/show-AccessMode
...
show instance for AccessMode
2012-01-28 15:50:53 -08:00
Greg Weber
6ef19663cf
show instance for AccessMode
2012-01-27 12:48:54 -03:00
Tony Hannan
2f23e78c28
Use MVar from lifted-base
2012-01-23 20:45:10 -05:00
Tony Hannan
d0aeb42e7c
merge duplicate code
2012-01-23 19:45:42 -05:00
Tony Hannan
b8f25ad6f0
bump version for latest lifted-base
2012-01-23 19:14:36 -05:00
Tony Hannan
5c2a296fa1
Merge pull request #12 from mkscrg/master
...
Fix for tailable cursor
2012-01-23 16:11:43 -08:00
Michael S. Craig
fa95b65fad
Fix for bad behavior when using TailableCursor.
...
`Database.MongoDB.Query.next` and `nextBatch` prefetch a promise of the next
batch of documents from the server whenever the current batch has been
exhausted. The following call to `next` or `nextBatch` fulfills that promise
(thereby turning it into a concrete batch of documents) and then returns one or
more documents in the batch.
The old behavior was to raise an exception if an empty batch with a nonzero
cursor ID was encountered. This is normal when using tailable cursors, so a
change was required.
Now, `Nothing` is returned with the still-live cursor ID, instead of raising
the exception. Also, prefetched empty batches with nonzero cursor IDs are
refetched once per call to avoid stale data.
This new prefetching behavior does not affect the performance of `next`, except
when calling it repeatedly on a tailable cursor with no new data. In those
(generally avoidable) cases, each call to `next` results in two server calls
instead of one.
2011-12-13 11:02:57 -05:00
Tony Hannan
6faad5d866
Merge pull request #9 from alphaHeavy/monad-control
...
Updating to monad-control-0.3, with help from Bas van Dijk.
2011-12-06 15:17:06 -08:00
Nathan Howell
b18f81f431
Updating to monad-control-0.3, with help from Bas van Dijk.
...
Conflicts:
Database/MongoDB/Query.hs
2011-12-05 09:23:39 -08:00