parse.com - API 100 objects limit -


i have production ios app , i'm little confused 100 object default query limit (which found out about). if have class has 150 objects, , query 125 of objects, return 100 objects? also, if have class has 200 objects , want query 1 object, , object number 150 out of 200, return nothing because queried first 100? in advance.

parse queries have default limit of 100 set on them. can retrieve upto 1000 parseobjects in 1 query. need set limit attribute when execute query. if want retrieve more 1000 objects in 1 query, need split query can run multiple times , whole result set in app.

also, if have class has 200 objects , want query 1 object, , object number 150 out of 200, return nothing because queried first 100?

if query has 1 result, retrieved no matter data in table, meaning query runs on whole table. limit applies number of rows returned in single query. check ios parse docs understand working better.

you can limit number of results setting limit. default, results limited 100, 1 1000 valid limit:

query.limit = 10; // limit @ 10 results 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -