MongoDB Java Code to do the equivalent of SELECT SUM(column_name) FROM table_name WHERE condition

前端 未结 0 1052
逝去的感伤
逝去的感伤 2020-12-11 00:25

I am using Java to run my MongoDB query. I want to sum up the values field called "APPROVED" in my MongoDB collection. In SQL the query would be like SELECT SUM(co

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