
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
- Document Data is null.
I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot) The permission I have ar...
- Do I need Redis if using appwrite
Saw appwrite has built-in redis, but does this work for listdocuments, getdocument and other query etc? what does the appwrite redis covers under the hood?
- Is there a way of fetching random docume...
In SQL, we have the `RAND()` function, is there an equivalent in Appwrite? In my app, the user answers questions, which all have an Elo rating. I'm actually un...
