Skip to content

Complex queries don't work #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wanclem opened this issue Jun 18, 2017 · 3 comments
Closed

Complex queries don't work #65

wanclem opened this issue Jun 18, 2017 · 3 comments

Comments

@wanclem
Copy link

wanclem commented Jun 18, 2017

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?

@flovilmart
Copy link

Those are probably not supported on parse-server itself. https://github.com/parse-community/parse-server/wiki/Parse-LiveQuery-Protocol-Specification#subscribe-message

@mmimeault
Copy link
Contributor

Hello,

Thank you for trying the live query cllient.

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

Thanks

@wanclem
Copy link
Author

wanclem commented Jun 18, 2017

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..👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants