PFIncrementalStore icon indicating copy to clipboard operation
PFIncrementalStore copied to clipboard

to-many relationships not syncing

Open bitsmedia opened this issue 10 years ago • 2 comments

I have implemented PFIncrementalStore in a simple 2-table coredata project with both tables linked to each other by a to-many relationship.

When saving my managed object to the coredata context, the object gets pushed to Parse (each class gets automatically created the first time) but nothing happens for the relationships?

Am I supposed to pre-define these relationships on Parse?

bitsmedia avatar Apr 29 '14 03:04 bitsmedia

Sometimes when you add new properties to a previously existing class, you have to refresh your browser (cmd-R), rather than just refreshing the data view that Parse provides.
Alternatively you can pre-define as you mentioned.

Alydyn avatar Apr 29 '14 21:04 Alydyn

@Alydyn thanks for offering up a few suggestions, much appreciated!

I know that one-to-many relationships work, but I'll need to look into many-to-many relationships and how those are handled.

sbonami avatar Apr 30 '14 02:04 sbonami