There is no built-in way to count. You would need to paginate through the
results and add up the count that's returned with each request until you
reach the end of the collection.

On Tue, Sep 6, 2016 at 1:42 AM, Thành Vũ Trung <[email protected]>
wrote:

> Hi everybody, hope you are well now. I have a question.
> How to count entities that's match with a condition in usergrid?
> Ex:
>
>    - Collection "posts" has 1000 entities, has some entities with
>    {status: 1}
>    - I want to select count of entities that have {status: 1}
>
> Hope any body can help me to explain this. Thank you so much.
> --
> Loyal.
>

Reply via email to