我為我的模型執行updateone,並在我的方案上使用pre-updateone鉤子,如下所示: const schema = new mongoose.Schema({ name: { type: String } ...
確定! 回上一頁