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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.
- Team invite - 500 error - no email
When executing ```dart await _repository.teams.createMembership( teamId: event.listId, roles: ['member'], email: event.email, url: 'xxxx', ); ``` I se...