Hello, May I seek your opinion on the relationship type to use?
Consider the following data:
- product A, B, C
- product group A, B, C
Product group A contains product A, B Product group B contains product A, C Product group C contains product B, C
I am experimenting with one-way relationship, and on delete cascade.
If I delete product group A, it deletes product A and B. I think this is expected because of the delete cascade.
If I want to keep product A, B when I delete product group A. But I want it to delete the product, when all product groups that hold the product have been deleted, is it something that is possible?
For example, if I delete product group A and B, it should delete product A. Product B and C should not be deleted because they are still held by group B and C.
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- ISO help
I’m writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 — Requirements Engineering, or if someone can check the docu...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?