Looking at this thread" https://getsatisfaction.com/apperyio/...
it appears that Appery does not support any mongodb aggregation functions at all.
If an app reaches any kind of scale this potentially becomes a real problem with having to transfer large amounts of data out of the database to be processed in a server side script - merely to calculate the sum of a number of values.
Is there any workaround in the server side scripting environment for this problem - are there any near future plans to support aggregation in the API ?