Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving All Objects is limiting by the firsts 100 rows #12

Closed
pmilanez opened this issue Apr 24, 2012 · 1 comment
Closed

Retrieving All Objects is limiting by the firsts 100 rows #12

pmilanez opened this issue Apr 24, 2012 · 1 comment

Comments

@pmilanez
Copy link

Here is the example:

valor_todos = 0

all_values = Parse.get "MyClass"
all_values.each { |linha| valor_todos += 1}

print valor_todos

The output is:

100

@adelevie
Copy link
Owner

This is actually not a bug, but the default behavior of Parse. Please take a look at their REST docs:

You can use the limit and skip parameters for pagination. limit defaults to 100, but anything from 1 to 1000 is a valid limit.

Feel free to submit a pull request that edits the README to make this more clear. Thanks for filing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants