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

Support execute chaining #316

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

damian3031
Copy link
Member

resolves #279

Now it is possible to chain fetch operations. Added test for it.

self._iterator = iter(result)
return result
self._iterator = iter(self._query.execute())
return self

def executemany(self, operation, seq_of_params):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency do we also want it for executemany?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added for consistency

@hashhar hashhar merged commit fd78e41 into trinodb:master Jan 11, 2023
This was referenced Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Support Execute Chaining
3 participants