-
Type:
New Feature
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: API, Write Operations
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently the Java driver doesn't return nModified at all for the existing DBCollection.update method. The WriteResult class doesn't expose it at all, so it's not available.
However, we should consider it. Since the new BulkWriteResult class has the method:
- isModifiedCountAvailable
- getModifiedCount
we could add these same methods to WriteResult (or a new subclass of it, UpdateResult).