在我的mongodb中有集合类别:[{catid:1,id:1},{catid:1,id:2},{catid:1,id:3},{catid:1,id:4 },{CATID:2}]
如何使用更新方法:Category.update({catid:1},[{catid:1,status:' sick'},{catid:1,status:' angry& #39;},{catid:1,status:' boring'},{catid:1,status:' happy'}]。)exec(function(Err,updated){ })
谢谢大家!