mongodb 批量更新|按条件更新 SQL
db.getCollection('wx_group_member_record_2020-06-21').find({"is_active": "N"}).forEach(
function(item){
db.getCollection('wx_group_member_record_2020-06-21').update({"_id":item._id},{$set:{"is_active":"Y"}})
}
)