-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
The "new Write API" takes a writeConcern document similar to the old GLE command.
This document does however not include the key->value pair "getlasterror: 1".
This is however sent as a writeConcern to 2.6+ servers:
{ "insert": "collectionname", "writeConcern": { "getlasterror": 1 }, "ordered": true, "documents": [ { "_id": { "$oid": "53ed19cd0640fd674b00e841" }, "my": "value" } ] }