In my situation, I'm using a relationship between two documents with the 'Cascade - delete all...' option. The issue here is that a document would be deleted, but its related files would still be in storage, and I couldn't find any endpoint to query these files for deletion.
Your data is structured like this?
A -> B -> File
And you're deleting A which automatically deletes B?
Yes,
Ideally, when B is deleted, an event would be fired so that you can have a function that executes and deletes the files. Right now, it doesn't. We plan to add this in the future. you can upvote this issue to stay updated on this: https://github.com/appwrite/appwrite/issues/5375
Alright
Any solution for now?
no workaround at the moment
Recommended threads
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...