Updating document with mongoose — one property not being updated?

前端 未结 0 778
星月不相逢
星月不相逢 2020-11-28 03:00

I have the following code that updates a document in MongoDB:

exercisesRouter.put(\'/:exerciseId\', async (req, res) => {
  try {
    await mongoose.connec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题