如图 ,使用update更新时出错
db.test0.update( { "count" : { $gt : 1 } } , { $set : { "test2" : "OK"} } );
你用双引号试试