Sum of value in all hashes

后端 未结 0 1761
情话喂你
情话喂你 2020-12-03 21:54

How can I sum the amount of all payments?

My setup:

# payment.rb

# metadata: text
store :metadata, accessors: [:product, :amount]
         


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