Is there a limit of documents in a collection that can be showed? I just added 6 documents more in my collection, and my web app is just showing the first one
By default the listDocuments function should return at most 25 documents, but that can be raised using Query.limit(number)
.
Do you have document level permission enabled?
I think this is it. I have 30 documents, Had 24 before add the new 6. I think thats why just show the first one. I will use Query instead
Yes I do
And did you have set read permission for each document?
I set the permissions in the collection
But if you have document level permission enabled and the document doesn't has the permission then you will not be able to access them
If you want all documents being available for everyone then you should turn off document level permission
I fixed using Querys, Thanks for your time guys ❤️
can this be marked as solved now?
yes
[SOLVED] How many documents in a collection can be showed in a web app?
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...