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 batch select #642

Merged
merged 1 commit into from
Nov 25, 2019
Merged

Add batch select #642

merged 1 commit into from
Nov 25, 2019

Conversation

ps-feng
Copy link

@ps-feng ps-feng commented Sep 16, 2019

Follow up on #641.

This functionality is inspired by Rails' find_in_batches and is an alternative to using 'fetchSize' that does not rely on server-side cursors. It's also a much more efficient approach than using limit+offset.

The requirement for this to work is that the source table has an auto-increment column.

@Tapac I used a different naming style for the tests as I felt I needed more words, but if you prefer I can try to use the same format as the other tests.

This functionality is inspired by Rails' find_in_batches and is an alternative to using 'fetchSize' that does not rely on server-side cursors.
@ps-feng
Copy link
Author

ps-feng commented Oct 1, 2019

@Tapac may I ask what's the status of this?

@Tapac
Copy link
Contributor

Tapac commented Oct 2, 2019

Hi @ps-feng , for for a late reply.
The plan is to release Exposed 0.18.1 with module split on this or next week (I'm in a process of documenting migration steps and changes).

After that, I expect to get some critical issues (:D), fix them and then merge your PR.

Tapac added a commit that referenced this pull request Nov 25, 2019
merge conflict resolved
@Tapac Tapac merged commit 526b6fd into JetBrains:master Nov 25, 2019
@ps-feng ps-feng deleted the add-batch-select branch November 26, 2019 09:09
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.

2 participants