Skip to content

Discard active auto-commit results on Session.close() #889

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

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Mar 8, 2022

Discarding the elements before reseting the Session allows non-consumed results to be committed before reset the result.

This PR also improves the keys() and summary() methods by allowing get errors cached in the result.

Discarding the elements before reseting the Session allows non-consumed results to be committed before reset the result.

This PR also improves the `keys()` and `summary()` methods by allowing get errors cached in the result.
@bigmontz bigmontz changed the title Discards active auto-commit results on Session.close() Discard active auto-commit results on Session.close() Mar 8, 2022
Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

⛓️

@bigmontz bigmontz merged commit d614b1f into neo4j:5.0 Mar 8, 2022
@bigmontz bigmontz deleted the 5.0-consuming-unfinished-results branch March 8, 2022 15:10
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