I implemented core data in my app with 2 Entity named "Employees" & "Departments".
They have a relationship with many to many . But no action for deletion now on relationship.
Now, I need like if any department has no employee then that department will automatically delete from DB.
Is this possible?
Thanks for your time :)
如果我们在提取您需要使用与您的要求匹配的谓词来过滤数据时遇到麻烦,则无法自动删除。
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.