当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - How can I query multiple classes on Parse?

问题描述:

I have 3 similar classes on Parse where I want to save all the data onto 1 object in iOS. Example of my database:

Class: Cycling

objectID (string)

calories (double)

User (pointer:User)

Class: Swimming

objectID (string)

calories (double)

User (pointer:User)

Class: Steps

objectID (string)

calories (double)

User (pointer:User)

I want to save the data from the 3 classes if the objectID is the same. How can I accomplish this? It would've been easier if these 3 classes were just 1 but the previous developer designed it with 3 tables.

分享给朋友:
您可能感兴趣的文章:
随机阅读: