[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
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...