[SOLVED] Do I need to Delete Children Individually with Cascade Delete One to Many?
- 0
- Self Hosted

Before you assume the answer, I'm aware if I delete the parent it'll delete the children, but I want to know if I can update the parent, and then it'll auto-delete the children π -- it would make sense if it didn't but I'm getting a server error trying to do it (my N8N package so can't tell the exact error) so I wanted to check if I could

As far as I know, you will need to do this manually. But let me check and make sure

Yeah I think you will need to create a helper function that removes the children.

Although, to be absolutely sure, you could create a dummy collection with relations, and test it out!

gotcha!

thank you!

I did haha, I was just curious to know an absolute L)

π

thank you!


[SOLVED] Do I need to Delete Children Individually with Cascade Delete One to Many?
Recommended threads
- Appwrite Error: 401 Unauthorized on getC...
Hi everyone, I'm getting an error while trying to fetch the current user using Appwrite in my React project. Here's the error log: auth.js:41 GET https://fra....
- OAuth fails with Invalid Response or inv...
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it...
- cli 5.0.5 command for pull and push of d...
Hi i am using selfhosted appwrite 1.5.10, for migration (duplicate project) purpose i am using cli 5.0.5, but i am unable to find commands for pull and push, wh...
