I have an array like this.
[{
PropertyOne : 1,
PropertyTwo : 5
},
{
PropertyOne : 3,
PropertyTwo : 5
},...]
And I want to end up with an array like this which aggregates all the columns of this array to end up like this.
[{
PropertyOne : 4,
PropertyTwo : 10
}}
If it was a single column I know I could use .reduce but can't see how I could do with multiple columns ?
PropertyOne: 3since1 + 2 = 3?