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
- Functions: HTTP 500 internal error
I’m seeing a lot of HTTP internal server errors across all my functions the past 48 hours.
- Go functions cold start timeout on self-...
Hey everyone — running into a persistent cold start issue with Go functions on self-hosted Appwrite 1.9.0 (Elestio/Hetzner). Looking for how others are handling...
- Increase student pack database read and ...
Hi guys, Thank you Appwrite for an awesome platform, i am using the database function for my financial analyst app for my college final thesis. Problem: Curre...