Mongodb batch updates

>db.col.update({查询条件},{修改条件},{multi:true})

Guess you like

Origin www.cnblogs.com/lsys/p/11225890.html