$coll->update( array( \"uid\"=(int)$uid, \"status\"=>1, \"time\"=>array(\'$gt\'=>0,\'$lte\'=>$time) ), array( \'$set\'=>array
Now MongoDB is using updateMany to update multiple documents: db.collection.updateMany(, , )
db.collection.updateMany(criteria, objNew)