Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb/mongo-python-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: macdiesel/mongo-python-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 20, 2015

  1. matched_count should return a non 0 number if self.upserted_id is not…

    … none
    
    The case that is incorrect here is that when a document is matched, but the data was the same so the upsert didn't happen. 
    
    Also not sure here why n wasn't checked first.
    Brian Beggs committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    1b6f009 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from macdiesel/macdiesel-matched_count

    matched_count should return a non 0 number if self.upserted_id is not none
    Brian Beggs committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    4babf36 View commit details
    Browse the repository at this point in the history
Loading