Mongodb – How to merge all the objects in a nested array to one object by summing each property on mongo db?
Given 1st block of code is the sample data and the second block is my desired output What is the query needed to add the fields of Machine Stats in MongoDB So that my desired output is this (basically addition…