Is there some undocumented limit to amount to documents a function can delete? Wrote a function to clean a collections stale document but function stops after index 24 and gives a out of bounds error even though listDocuments has more ID's
Hi, no I don’t think so it does. Are you implementing paging? What’s your use case?
There could be a rate limit (but still way more than 24) if the speed is too fast but I think it would be better if you maybe share about your use case so I can understand
Use case is fairly straight forward. Users create temp chat sessions and once the session is over a function is triggered that cleans all documents related to that specific chat ID. The server side function is written in dart and all it does is lists documents based on the chat room ID and for loops to delete documents
I will try to share the code snippet shortly but its essentially exactly as described
please share the code as you are scrolling through and deleting the documents.
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...