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