Document is inserted twice into MongoDB when using Mongoose create method

前端 未结 0 1889
无人共我
无人共我 2021-01-04 23:01

I am having below schema in my API which gets details of username and the products he added to the cart.

const mongoose = require(\'mongoose\');

mongoose.con         


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