Back

Is there a way to retrieve all documents in a collection? Or is there a rate limit of only 100 still

  • 0
  • React Native
MANWHOGAMES
13 Jan, 2025, 12:02

I am trying to do a query to return all items in a given collection, but can only seem to find a way to get a single document?

TL;DR
Developers wondering if they can retrieve all docs in a collection with a limit of only 100. They can use `Query.limit(...)` with `listDocuments` to fetch the desired count.
Darshan Pandya
13 Jan, 2025, 12:06

Use Query.limit(...) with listDocuments, that should return whatever count you need.

D5
13 Jan, 2025, 12:16

Do you really need to fetch all documents at once?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more