DEBSOURCES
Skip Quicknav
sources / mongodb / 1%3A2.4.10-5 / jstests / insert2.js
12345678
t = db.insert2 t.drop() assert.isnull( t.findOne() , "A" ) t.insert( { z : 1 , $inc : { x : 1 } } , 0, true ); assert.isnull( t.findOne() , "B" )