Reputation: 608
If I have a PFQuery that will search through every user but I limit the results to 3 users, will that query search through every user and then give me 3 users? Or will the query pause/stop once 3 people have been found?
Thanks!
Upvotes: 0
Views: 31
Reputation: 89509
The query will stop searching once it finds what you set as your PFQuery's .limit
.
And if you want to have pages of three users, you can use the .skip
property, e.g. .skip = pageNumber * 3
.
Upvotes: 1