蒙戈> db.users.findOne({username:'foo'});
{
"__v" : 266,
"_id" : ObjectId("50752b5f00a0f5ab64000002"),
"followers" : [
ObjectId("505e2f1de888c7d701000001"),
ObjectId("506146fe72c0280723000001"),
ObjectId("50752b5f00a0f5ab64000002"), //remove this
ObjectId("50752b5f00a0f5ab64000002") //remove this
],
我想删除关注者[]集合中的最后两项。