
Suppose I have the database: Books -> Chapters -> Pages And I want to be able to delete a book's chapter, and then cascade the pages in that chapter along side it but NOT the other way, If I delete a page i do not want it to delete the chapter it was related to.
Right now I have it setup as on the Chapter it has a one way relation to pages that is on cascade mode, and then on Pages it has another one way relation to Chapters that is on null delete mode
Is this a good idea? I wanted to avoid two-way because it would cascade bidirectionally
Recommended threads
- Managed databases?
I'm evaluating Appwrite Cloud for a project. One of my requirements is that I can move to selfhosted down the road if it becomes necessary. After reading the...
- Dumb question, api key for app? Protect ...
I have my project set up, and I'm developing with Flutter. My app does not require users to log in to retrieve some general project data, but authentication is ...
- Update Document taking absurdly long
I'm making a food ordering app for businesses What im trying to do is to create a menu a restuarant is going to have posted all troughout the week, with certai...
