parse-community/ParseLiveQuery-Android

Complex queries don't work

wannclem opened this issue · 3 comments

Hi guys, nice job on LiveQueries support. Just started to try it out today and discovered that complex queries don't work, but simple queries do

Example

ParseQuery usersQuery = ParseUser.getQuery();
usersQuery.whereEqualTo("category", "android-pals");
SubscriptionHandlingsubscriptionHandling=ApplicationLoader.getParseLiveQueryClient().subscribe(usersQuery);

LiveQueries work with the above query all the time.

But when I tried to do

ParseQuery usersQuery = ParseUser.getQuery();
usersQuery.whereEqualTo("category", "android-pals");
usersQuery.whereEqualTo("privilegde", "premium");
SubscriptionHandling subscriptionHandling = ApplicationLoader.getParseLiveQueryClient().subscribe(usersQuery);

Then LiveQueries don't work again

Am I missing something?

Hello,

Thank you for trying the live query cllient.

"privilegde" is the right field you are trying to query?

Thanks

Yes, privilege is the right field. Nonetheless, I tried a couple times and it didn't work so I have managed to switch to single queries and I think am fine now...Nice job guys..👍