mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
7 lines
135 B
JavaScript
7 lines
135 B
JavaScript
|
|
t = db.update_invalid1
|
|
t.drop()
|
|
|
|
t.update( { _id : 5 } , { $set : { $inc : { x : 5 } } } , true );
|
|
assert.eq( 0 , t.count() , "A1" );
|