Database service does not give all the value irrespective of the query I write.
I'm trying to get the total sales for the current year for all the transactions that are completed to achieve this I use this query in the where clause of the db service:
return '{"$and":[{"posId":"'pos001'"},{"year":"2015"},{"status":"completed"}]}';
but the service returns data only until April & nothing beyond it.
I've tried different ways to query my services but the output values returned are the same.
Any help would be appreciated.