record type: Country(CKRecord)
--------------------
name: String
code: String
--------------------
record type: User(CKRecord)
------------------------
name: String
country: CKReference (reference to country record>
-------------------------
I have 2 record types (Country and User) created by CloudKit Dashboard. I encountered some cloudkit issues.
currently! I query User and then using country reference to fetch country record. When I using cloudKit to get some records I have to do a lot of queries and fetches that waste a lot of time for waiting. so my issues are
1)How to get User record and Country record at the same time, If I query a record? example: query User Record
2)In some record that have a reference list. How to delete a CKReference in that reference list
Thanks a lot