The $each modifier allows the $addToSet operator to add multiple values to the array field. A collection inventory has the following document: { _id: 2, ...
確定! 回上一頁