Mongodb – Make an array from array of array of objects with same property
I have an javascript array and it contains another array of objects. Now I want to do sum of the field of objects having same symbol key. How to do that ? The array I have let orders = […