总结:尽量用updateOne,updateMany方法,他们都是对update的封装,如果需要返回值就用findOneAndUpdate方法,mongoose中没有findAndModify方法.
確定! 回上一頁