reduce typescript on a databse entity

后端 未结 0 1309
一个人的身影
一个人的身影 2020-11-22 15:36

I have a Food entity which has a price column

Somewhere in project, I have an array of foods and I want to extract the sum of their prices using reduce()

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