Skip to content
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

Parse Query for value 0 (Zero) not working #454

Closed
mobappsbr opened this issue Oct 30, 2019 · 1 comment
Closed

Parse Query for value 0 (Zero) not working #454

mobappsbr opened this issue Oct 30, 2019 · 1 comment

Comments

@mobappsbr
Copy link

I`m trying do a query in a Class where I have a field of type ‘Number’ in Parse Server, my query:

    $query = new ParseQuery($className);
    $query->equalTo("number",0);
    $query->count();

When I query for other numbers like 30, 50, 1, get the total right, but for zero get all Objects(total) in this class. I tried do this query in Parse Dashboard and results seems ok, the problem is only in Parse SDK PHP.

dplewis added a commit that referenced this issue Oct 30, 2019
@dplewis
Copy link
Member

dplewis commented Oct 30, 2019

@mobappsbr I wrote a test case and it passed. Can you look at it?

#455

@dplewis dplewis mentioned this issue Oct 30, 2019
dplewis added a commit that referenced this issue Jul 15, 2020
@dplewis dplewis closed this as completed Jul 15, 2020
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