Laravel sum not adding properly

后端 未结 0 1972
野的像风
野的像风 2020-12-22 15:10

tried

Orders::wherein(\'status\',[\'succeeded\',\'completed\'])->sum(\'subtotal\');

and I have 2 records one consist of subtotal of

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