foursquare/fongo — pull request #10 by tobyclemson (2012-12-17 18:44:41+00:00)
Title: getLastError should contain updatedExisting key with boolean value on update.

Whilst there isn't a method exposed for it, the ```CommandResult``` returned through ```WriteResult#getLastError()``` should contain a key-value pair for key "updatedExisting" which determines whether any existing documents were updated.

This pull request makes that key available and adds tests for all relevant cases.