We are trying to implement a more complex use case than the summation plugin: we need to return a collection of objects that have their sum of field field_1 equal to a certain amount and the sum of field field_2 equal to another amount.
I imagine this can be done using a plugin that returns ObjectRow like so, but this is not clear nor documented, has anyone done anything like that?
https://gist.github.com/edmondo1984/d3219e93edb38b987fd927f274162a85
We are trying to implement a more complex use case than the summation plugin: we need to return a collection of objects that have their sum of field field_1 equal to a certain amount and the sum of field field_2 equal to another amount.
I imagine this can be done using a plugin that returns ObjectRow like so, but this is not clear nor documented, has anyone done anything like that?
https://gist.github.com/edmondo1984/d3219e93edb38b987fd927f274162a85