8 lines
150 B
JavaScript
8 lines
150 B
JavaScript
|
|
t = db.insert2
|
|
t.drop()
|
|
|
|
assert.isnull( t.findOne() , "A" )
|
|
t.insert( { z : 1 , $inc : { x : 1 } } , 0, true );
|
|
assert.isnull( t.findOne() , "B" )
|
|
|