I have a UserToMessage
table which has a pointer to user called thisUser
and a pointer to message called msg
The message tab
Ok this question is really confusing. If I understood correctly, You want to query the UserToMessage
table and include two conditions? If so you could do it like this:
[query whereKey:@"msg" equalTo:MSG_POINTER];
[query whereKey:@"thisUser" equalTo:PF_USER_POINTER];
If this is not the case please update your question to reflect what exactly you need.