[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
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...