Skip to content

countObjectsInBackgroundWithBlock starts returning count 1 #40

@santanu4ver

Description

@santanu4ver

Last known working date: 16th August 2015
Affected app: VoteYourSpider
Using Parse (1.7.5.3)
Using ParseUI (1.1.4)

query.limit = 1000
query.whereKeyExists("name")
query.countObjectsInBackgroundWithBlock { (count, error) -> Void in

        if error == nil
        {
              self.maxRecordsCount = Int(count) - 1
        }
}

The above code suddenly starts returning count:1.

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