I've wondering a no cross-zone relationships.

HI.

I've wondering that the CustomZone, no cross-zone relationships has told in Advanced Cloudkit session wwdc'14.


but in the situation ,

Place ( CKRecord ) in defaultZone, public database or in defaultZone , private database

and Note (CKRecord ) has a back reference relationship with place id on customZone , private database.

is it ok ? I am confusing for myself because Note has relationship with Place about cross-zone (defaultZone in public or private )

so is it not good ?

and there're another question.

Can CKRecordZone have a different-recordtype CKRecord all-in-one?

firstly, I think CKRecordZone is like a table (rdbs). so can only have same recordtype.

but I think that's not true. so when you create customzone , if one to many modeling data, you can save place , note record in same recordzone.

and then also get a atomic-commit function.


am I right ?

I've wondering a no cross-zone relationships.
 
 
Q