mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
8 lines
148 B
JavaScript
8 lines
148 B
JavaScript
// @tags: [requires_fastcount]
|
|
|
|
t = db.update_invalid1;
|
|
t.drop();
|
|
|
|
t.update({_id: 5}, {$set: {$inc: {x: 5}}}, true);
|
|
assert.eq(0, t.count(), "A1");
|