Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
0.90.0
-
None
-
Any
Description
There is no way to access the getLastError document, since it's being received, evaluated and then discarded right after _mongoc_write_concern_has_gle().
So, clients can't access the rest of the fields to evaluate for example, how many documents were affected by the previous update/delete operation, or whether an upsert resulted in an update or an insert, besides other useful fields I've seen there.