mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
9 lines
147 B
JavaScript
9 lines
147 B
JavaScript
|
|
t = db.insert2
|
|
t.drop()
|
|
|
|
assert.isnull( t.findOne() , "A" )
|
|
t.insert( { z : 1 , $inc : { x : 1 } } , true );
|
|
assert.isnull( t.findOne() , "B" )
|
|
|