#How to get all users

9 messages · Page 1 of 1 (latest)

haughty robin
#

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 ?!!

haughty robin
#

??

#

<@&634618551491100692>

junior ravine
#

Yes, by default you get 25 documents

#

You can use Query.limit(25)
And set the 25 to a higher number to get more elements

toxic quest
#

Use cursor, if you have a lot of documents in a loop.

junior ravine
#

That's it. You should not get everything at once

haughty robin
pine raven