cocoa - Is it OK to have Many to Many relationships in Core Data? -


say have model employee can have many bosses (life tough) , boss can have many employees.

i have many many relationship goes both ways. acceptable in core data? against 5 normal forms of database design?

in nutshel, may go ahead , create relationship or cause me trouble in future?

apple address issue in core data programming guide, under heading many many relationships. having introduced topic, guide reassures nervous users following:

if have background in database management , [many-to-many relationships] causes concern, don't worry: if use sqlite store, core data automatically creates intermediate join table you.

in other words, allowing many-to-many relationships core data isn't doing violates established database logic, it's handling logic you.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -