{ $addToSet: { <field1>: <value1>, ... } } 二、考虑一个集合文档test,包含一个数组字段letters { _id: 1, letters: ["a", "b"] ...
確定! 回上一頁