Details
-
Bug
-
Resolution: Done
-
Trivial - P5
-
None
-
None
-
None
Description
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"
|
}
|
]
|
}
|