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
- Random function timeouts
Sometimes my function runs without issue and I can see my logs in the Logs tab on cloud.appwrite.io. Other times, the function fails with a 500 status code, the...
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...
- Transaction and Session
I've been debugging for hours a problem that now I think it's because It's not allowed: In my project a user log in using the `node-appwrite` SDK (SSR) I store...