请问老师如何删除数组里的某个条件的项
请问老师如何删除mongodb数据库数组里的某个条件的项,例如我要删除reply数组里from为ObjectId("583d676d769618169434bb3a")的项(好多条数据里都有个这个项,而却这个项在一个数组里也有多条)
{ "_id" : ObjectId("583d8d81d232c5213409ec0d"), "news" : ObjectId("5831a07f86f7f21e88957d4c"), "user" : ObjectId("583d676d769618169434bb3a"), "content" : "感觉还高合金钢", "date" : "2016-11-29 22:15:29", "reply" : [ { "content" : "进口国很久看过进口国", "from" : ObjectId("583d676d769618169434bb3a"), "to" : ObjectId("583d676d769618169434bb3a"), "tim" : "2016-11-29 22:15:51", "_id" : ObjectId("583d8d98d232c5213409ec0e") }, { "content" : "放松放松的发大水", "from" : ObjectId("583d676d769618169434bb3a"), "to" : ObjectId("583d676d769618169434bb3a"), "tim" : "2016-11-29 22:21:45", "_id" : ObjectId("583d8ef9d232c5213409ec0f") } ], "__v" : 2 }