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

Query paging support #10

Closed
penberg opened this issue Oct 22, 2020 · 0 comments · Fixed by #58
Closed

Query paging support #10

penberg opened this issue Oct 22, 2020 · 0 comments · Fixed by #58
Assignees
Labels
enhancement New feature or request

Comments

@penberg
Copy link
Contributor

penberg commented Oct 22, 2020

Add support for paging with the QUERY and EXECUTE requests.

@penberg penberg added the enhancement New feature or request label Oct 22, 2020
@piodul piodul self-assigned this Oct 23, 2020
piodul added a commit that referenced this issue Oct 24, 2020
This PR implements paging for both prepared and unprepared queries. A
new variant of `query` and `execute` methods is introduced -
`query_iter` and `execute_iter`, which returns a RowIterator.

The user operates on a RowIterator, which returns consecutive rows. When
a RowIterator is created, a worker task is spawned which fetches
consecutive pages and passes them to the RowIterator through a channel.

Fixes #10
@piodul piodul mentioned this issue Oct 24, 2020
piodul added a commit that referenced this issue Oct 24, 2020
This PR implements paging for both prepared and unprepared queries. A
new variant of `query` and `execute` methods is introduced -
`query_iter` and `execute_iter`, which returns a RowIterator.

The user operates on a RowIterator, which returns consecutive rows. When
a RowIterator is created, a worker task is spawned which fetches
consecutive pages and passes them to the RowIterator through a channel.

Fixes #10
piodul added a commit that referenced this issue Oct 24, 2020
This PR implements paging for both prepared and unprepared queries. A
new variant of `query` and `execute` methods is introduced -
`query_iter` and `execute_iter`, which returns a RowIterator.

The user operates on a RowIterator, which returns consecutive rows. When
a RowIterator is created, a worker task is spawned which fetches
consecutive pages and passes them to the RowIterator through a channel.

Fixes #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants