Rank 2: Process
hello i need to get all users register on my app, but when use api give me 25 only and i can't load more as you see.
how i can get all users ?!!
Votes
1
Replies
9
Participants
Unknown
Messages
10
Rank 2: Process
hello i need to get all users register on my app, but when use api give me 25 only and i can't load more as you see.
how i can get all users ?!!
Rank 2: Process
??
Rank 2: Process
@Moderator
Moderator
Yes, by default you get 25 documents
Moderator
You can use Query.limit(25)
And set the 25 to a higher number to get more elements
Use cursor, if you have a lot of documents in a loop.
Moderator
That's it. You should not get everything at once
Rank 2: Process
I need to loop to all users email to send emails.
Yes, that would be the right way.