Nested Include Parse.com

后端 未结 4 893
我在风中等你
我在风中等你 2021-01-21 01:48

I have a UserToMessage table which has a pointer to user called thisUser and a pointer to message called msg

The message tab

4条回答
  •  难免孤独
    2021-01-21 02:21

    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.

提交回复
热议问题