How to delete things associated to another

Hi everyone,

I have 2 data types, Category and Equipment, Category has Equipement as a data type so I can create multiple equipments associated to Category. When I delete a category, I’d like all equipments associated to this category to be deleted as well

How could I do that?

Thanks a lot

Actually got it

2 Likes

This is useful I have a similar function on my app where I auto create an event and need to delete a data type 30 minutes after certain fields aren’t filled to prevent an empty event being created. I presumed (stupidly) that all fields that had been added to that event would be deleted when the data type was deleted.
I’m hoping I can use this as a baseline to delete everything associated to that data type.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.