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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...