{"action":"opened","issue":{"url":"https://api.github.com/repos/zephyr-dev/cassandra_record/issues/2","labels_url":"https://api.github.com/repos/zephyr-dev/cassandra_record/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zephyr-dev/cassandra_record/issues/2/comments","events_url":"https://api.github.com/repos/zephyr-dev/cassandra_record/issues/2/events","html_url":"https://github.com/zephyr-dev/cassandra_record/issues/2","id":122778104,"number":2,"title":"Add method to aggregate results over all pages","user":{"login":"toddmohney","id":400775,"avatar_url":"https://avatars.githubusercontent.com/u/400775?v=3","gravatar_id":"","url":"https://api.github.com/users/toddmohney","html_url":"https://github.com/toddmohney","followers_url":"https://api.github.com/users/toddmohney/followers","following_url":"https://api.github.com/users/toddmohney/following{/other_user}","gists_url":"https://api.github.com/users/toddmohney/gists{/gist_id}","starred_url":"https://api.github.com/users/toddmohney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddmohney/subscriptions","organizations_url":"https://api.github.com/users/toddmohney/orgs","repos_url":"https://api.github.com/users/toddmohney/repos","events_url":"https://api.github.com/users/toddmohney/events{/privacy}","received_events_url":"https://api.github.com/users/toddmohney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T17:03:10Z","updated_at":"2015-12-17T17:03:10Z","closed_at":null,"body":"As a CassandraRecord user\r\nSo that I can work on a complete result set of data\r\nI want a way to request a complete, unpaginated result set\r\n\r\nThe `.where` method in `CassandraRecord::Base` returns an Enumerable, but paginated result set. Thus the responsibility to iterate through all pages of the result lies on the consumer.\r\n\r\nProvide a method to abstract pagination and return all results over all pages so the consumer can avoid the complexity and boilerplate of paginated results. "}}