mongoDB子文档列表更新语句:
db.user.update({"_id" : ObjectId("55ebe8309ff9d8916fbc9fd8")},
{
$addToSet:{
"userAuth":{
$each:[
{
"account" : "124585855645",
"accountType" : 10222
}
]
}
}
})