📜  日期匹配 mongodb - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:29.339000             🧑  作者: Mango

代码示例1
const date = new Date(req.body.date.concat("T21:00:00.000+00:00"));

await ActivitySessionModel.deleteMany({
      matchingDate: date
      })