Mongoose query won't go inside callback function

后端 未结 0 437
生来不讨喜
生来不讨喜 2021-01-22 05:51

I simplified the problem as I could.

            Transaction.find({budget: foundBudget._id}, function(err, foundTrans) {
              if (err) console.log(err);
         


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