Hi Alex, The Usergrid query language does not (currently) provide a count() function.
If you need to keep count of things you may want to consider using counters: http://usergrid.apache.org/docs/counters-and-events/creating-and-incrementing-counters.html Dave On Mon, Feb 22, 2016 at 6:15 PM Alex Yang <[email protected]> wrote: > Hi community, > > Is there a way to get search counting, similar like sql: select count(*) > where name='xxx' in Usergrid 2.1.0-rc1? > > I developed a cash app. Users download offers in my app and I reward them > their downloading. I will need to know how many offers user download > everyday, everyweek and every month to manage their level. So I am > expecting a feature to let query the counting instead of always return the > entities. > > What is your recommendation way to do that in user grid 2.1.0-rc1? > > Thanks very much, > Alex Yang
