File tree Expand file tree Collapse file tree 1 file changed +38
-19
lines changed
driver-core/src/test/resources/transactions Expand file tree Collapse file tree 1 file changed +38
-19
lines changed Original file line number Diff line number Diff line change 154
154
}
155
155
},
156
156
{
157
- "name" : " deleteMany " ,
157
+ "name" : " updateMany " ,
158
158
"arguments" : {
159
159
"filter" : {
160
160
"_id" : {
161
- "$gte" : 6
161
+ "$gte" : 2
162
+ }
163
+ },
164
+ "update" : {
165
+ "$set" : {
166
+ "z" : 1
162
167
}
163
168
}
164
169
}
165
170
},
166
171
{
167
- "name" : " updateMany " ,
172
+ "name" : " deleteMany " ,
168
173
"arguments" : {
169
174
"filter" : {
170
175
"_id" : {
171
- "$gte" : 2
172
- }
173
- },
174
- "update" : {
175
- "$set" : {
176
- "z" : 1
176
+ "$gte" : 6
177
177
}
178
178
}
179
179
}
191
191
"6" : 6 ,
192
192
"7" : 7
193
193
},
194
- "matchedCount" : 5 ,
195
- "modifiedCount" : 5 ,
194
+ "matchedCount" : 7 ,
195
+ "modifiedCount" : 7 ,
196
196
"upsertedCount" : 1 ,
197
197
"upsertedIds" : {
198
198
"2" : 2
409
409
"_id" : 4
410
410
},
411
411
"limit" : 1
412
- },
413
- {
414
- "q" : {
415
- "_id" : {
416
- "$gte" : 6
417
- }
418
- },
419
- "limit" : 0
420
412
}
421
413
],
422
414
"ordered" : true ,
465
457
"database_name" : " transaction-tests"
466
458
}
467
459
},
460
+ {
461
+ "command_started_event" : {
462
+ "command" : {
463
+ "delete" : " test" ,
464
+ "deletes" : [
465
+ {
466
+ "q" : {
467
+ "_id" : {
468
+ "$gte" : 6
469
+ }
470
+ },
471
+ "limit" : 0
472
+ }
473
+ ],
474
+ "ordered" : true ,
475
+ "lsid" : " session0" ,
476
+ "txnNumber" : {
477
+ "$numberLong" : " 1"
478
+ },
479
+ "startTransaction" : null ,
480
+ "autocommit" : false ,
481
+ "writeConcern" : null
482
+ },
483
+ "command_name" : " delete" ,
484
+ "database_name" : " transaction-tests"
485
+ }
486
+ },
468
487
{
469
488
"command_started_event" : {
470
489
"command" : {
You can’t perform that action at this time.
0 commit comments