Closed rodriger06 closed 8 months ago
Aggregating results only works for a property query, see the docs on how to build one.
Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.
Hi everyone,
I am trying to use aggregate function in my query but it looks like i am not able to see the function .
below is my code
in my function called getCurrentBalance() i want to sum my result set. i tried the following but android studio complains that sum function is undefined
i get error message such as The method 'sum' isn't defined for the type 'QueryBuilder'. can someone help please? am i doing something wrong? how can i fix my code to work properly.