Skip to content

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

Closed
@mobappsbr

Description

@mobappsbr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions