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
- Auto Updating Backend & Auth via Appwrit...
<@870607367597850624> Hey everyone 👋 I wanted to ask to ask for a friend, he’s asking if Appwrite be used in a similar way to Supabase when integrated with AI ...
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- Is Database Operators available in Cloud...
Is it possible to do the above?