Dodaj do listy Mongoose
PersonModel.update(
{ _id: person._id },
{ $push: { friends: friend } },
done
);
// if you want unique items only
PersonModel.update(
{ _id: person._id },
{ $addToSet: { friends: friend } }
);
Frail Fowl