dotnetdevcsharp
dotnetdevcsharp

Reputation: 3980

Parse.com Query only returning first 100

Hi I was wondering why my parse query was only returning an 100 objects when their is over 3000 rows in the parse db. I am using this in a xamrian.ios application and its only getting the first 99 objects back any ideas help is appreciated. And yes I did debug the code its only retreieving the first 99 objects back.

public async void populateFromParseLocalDB()
    {
        var query = ParseObject.GetQuery ("clinics");;
        IEnumerable<ParseObject> results = await query.FindAsync();


        int i;
        foreach (var record in results)
        {
            i++;
            Console.WriteLine("in for each");
            var name = record.Get<String>("Name");
            Console.WriteLine(name);
        }

        int mycount = i;
    }

Upvotes: 2

Views: 1249

Answers (1)

Jason
Jason

Reputation: 89102

From the Parse Docs:

You can limit the number of results by calling Limit. By default, results are limited to 100, but anything from 1 to 1000 is a valid limit:

Upvotes: 7

Related Questions