Update transactions spec bulk write test
}
},
{
- "name": "deleteMany",
+ "name": "updateMany",
"arguments": {
"filter": {
"_id": {
- "$gte": 6
+ "$gte": 2
+ }
+ },
+ "update": {
+ "$set": {
+ "z": 1
}
}
}
},
{
- "name": "updateMany",
+ "name": "deleteMany",
"arguments": {
"filter": {
"_id": {
- "$gte": 2
- }
- },
- "update": {
- "$set": {
- "z": 1
+ "$gte": 6
}
}
}
"6": 6,
"7": 7
},
- "matchedCount": 5,
- "modifiedCount": 5,
+ "matchedCount": 7,
+ "modifiedCount": 7,
"upsertedCount": 1,
"upsertedIds": {
"2": 2
"_id": 4
},
"limit": 1
- },
- {
- "q": {
- "_id": {
- "$gte": 6
- }
- },
- "limit": 0
}
],
"ordered": true,
"database_name": "transaction-tests"
}
},
+ {
+ "command_started_event": {
+ "command": {
+ "delete": "test",
+ "deletes": [
+ {
+ "q": {
+ "_id": {
+ "$gte": 6
+ }
+ },
+ "limit": 0
+ }
+ ],
+ "ordered": true,
+ "lsid": "session0",
+ "txnNumber": {
+ "$numberLong": "1"
+ },
+ "startTransaction": null,
+ "autocommit": false,
+ "writeConcern": null
+ },
+ "command_name": "delete",
+ "database_name": "transaction-tests"
+ }
+ },
{
"command_started_event": {
"command": {
