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

Add chunk support #205

Closed
josephmancuso opened this issue Oct 20, 2020 · 0 comments · Fixed by #214
Closed

Add chunk support #205

josephmancuso opened this issue Oct 20, 2020 · 0 comments · Fixed by #214

Comments

@josephmancuso
Copy link
Member

josephmancuso commented Oct 20, 2020

We need to be able to chunk.

It will need to be in a syntax like:

for chunk in User.where('created_at', '>', '1999-01-01').chunk(100):
    for user in chunk:
        user.name
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 a pull request may close this issue.

1 participant