Permalink
Commits on Feb 29, 2012
  1. Merge pull request #20 from yesodweb/fno-warn-orphans

    TonyGen committed Feb 29, 2012
    Fno warn orphans
  2. ignore dist/

    gregwebs committed Feb 29, 2012
  3. use -fno-warn-orphans

    gregwebs committed Feb 29, 2012
Commits on Feb 20, 2012
  1. Merge pull request #16 from A1kmm/master

    TonyGen committed Feb 20, 2012
    Add routedHost as an alternative to primary / secondaryOk that lets the user supply their own sort function
Commits on Feb 12, 2012
  1. Add routedHost as an alternative to primary / secondaryOk that lets t…

    A1kmm committed Feb 12, 2012
    …he user supply their own sort function. This is useful for applications like preferentially connecting to the host or secondary that is geographically the closest.
Commits on Jan 28, 2012
  1. Merge pull request #14 from yesodweb/show-AccessMode

    TonyGen committed Jan 28, 2012
    show instance for AccessMode
Commits on Jan 27, 2012
  1. show instance for AccessMode

    gregwebs committed Jan 27, 2012
Commits on Jan 24, 2012
  1. Use MVar from lifted-base

    TonyGen committed Jan 24, 2012
  2. merge duplicate code

    TonyGen committed Jan 24, 2012
  3. Merge pull request #12 from mkscrg/master

    TonyGen committed Jan 24, 2012
    Fix for tailable cursor
Commits on Dec 13, 2011
  1. Fix for bad behavior when using TailableCursor.

    mkscrg committed Dec 12, 2011
    `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.
Commits on Dec 6, 2011
  1. Merge pull request #9 from alphaHeavy/monad-control

    Tony Hannan committed Dec 6, 2011
    Updating to monad-control-0.3, with help from Bas van Dijk.
Commits on Dec 5, 2011
  1. Updating to monad-control-0.3, with help from Bas van Dijk.

    NathanHowell committed Dec 5, 2011
    Conflicts:
    
    	Database/MongoDB/Query.hs
Commits on Nov 10, 2011
Commits on Oct 28, 2011
  1. Merge pull request #7 from ryantrinkle/master

    Tony Hannan committed Oct 28, 2011
    Fixed brokenness in 7.2.1 (field labels for RecordWildCards must be in scope)
Commits on Oct 27, 2011
  1. fix missing record field in P.Request value

    Ryan Trinkle committed Oct 27, 2011
    the fields of a Database.MongoDB.Internal.Protocol.Query were not filled in by RecordWildcard on line 411 of Database/MongoDB/Query.hs because the record fields were not in scope
Commits on Sep 12, 2011
  1. fix typo in article

    Tony Hannan committed Sep 12, 2011
Commits on Sep 8, 2011
  1. fix typo in previous merge

    Tony Hannan committed Sep 8, 2011
Commits on Sep 7, 2011
  1. QueryFailure error code

    Tony Hannan committed Sep 7, 2011
  2. Merge pull request #4 from yesodweb/master

    Tony Hannan committed Sep 7, 2011
    Use MonadControlIO instead of custom MonadMVar
Commits on Aug 25, 2011
  1. Move to monad-control

    snoyberg committed Aug 25, 2011
Commits on Aug 18, 2011
  1. collect ids from insert lazily in case not used

    Tony Hannan committed Aug 18, 2011
Commits on Jul 30, 2011
  1. small edit to slides

    Tony Hannan committed Jul 30, 2011
  2. use ExtendedDefaultRules in example

    Tony Hannan committed Jul 30, 2011
Commits on Jul 28, 2011
  1. Intro to MongoDB slides

    Tony Hannan committed Jul 28, 2011
Commits on Jul 22, 2011
  1. remote ghc-option -O because Cabal does it

    Tony Hannan committed Jul 22, 2011
  2. Partial results option

    Tony Hannan committed Jul 22, 2011
  3. tailable cursor

    Tony Hannan committed Jul 22, 2011
Commits on Jul 21, 2011
  1. Cursor nextBatch

    Tony Hannan committed Jul 21, 2011
  2. insertAll (KeepGoing)

    Tony Hannan committed Jul 21, 2011
  3. connect timeout

    Tony Hannan committed Jul 21, 2011
Commits on Jul 19, 2011
  1. small edit to article

    Tony Hannan committed Jul 19, 2011
  2. small edit to article

    Tony Hannan committed Jul 19, 2011