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

Added an enumerator over all results. #116

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dblock
Copy link

@dblock dblock commented Mar 26, 2012

This lets you paginate over all results, not just the last 1000.

Pageviews.all(profile) do |row|
  puts "#{row.page_path} => #{row.pageviews}"
end

Note that the :limit option applies to the total result.

@dblock
Copy link
Author

dblock commented Aug 21, 2015

@Fosome This is old, do you want it? I'll rebase if you do.

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

Successfully merging this pull request may close these issues.

1 participant