I have a many to many relationship between two entities, I am using the cli tool to generate the entities from yaml configs, the problem is that there is no method to delete the associations.
What would be the best way to delete the associations. I can add the method to the entities, is there a better way to do this?
In one application we had a class User which could be in one or more Categories which was mapped as a many-to-many relation.
I didnt find a absolute clean way to remove a User from a Category, but what I did was:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.