0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests/update_invalid1.js
2011-07-01 17:38:26 -04:00

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" );