How to fetch the value of a key for all the index in an array of objects

后端 未结 0 1539
醉酒成梦
醉酒成梦 2020-12-05 20:26

I want to access cart.item for all the index to get the values from products collection to get the current price of the product.

 const CartSchema = mongoose.         


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