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

Introduce (Async)ManagedTransaction #658

Merged
merged 1 commit into from
Feb 11, 2022
Merged

Conversation

robsdedude
Copy link
Member

Transaction functions (a.k.a. managed transactions):
The first argument of transaction functions is now a (Async)ManagedTransaction
object. It behaves exactly like a regular (Async)Transaction object, except it
does not offer the commit, rollback, close, and closed methods.
Those methods would have caused a hard to interpreted error previously. Hence,
they have been removed.

Transaction functions (a.k.a. managed transactions):
The first argument of transaction functions is now a `(Async)ManagedTransaction`
object. It behaves exactly like a regular `(Async)Transaction` object, except it
does not offer the `commit`, `rollback`, `close`, and `closed` methods.
Those methods would have caused a hard to interpreted error previously. Hence,
they have been removed.
@robsdedude robsdedude merged commit e74c6f1 into neo4j:5.0 Feb 11, 2022
@robsdedude robsdedude deleted the tx-lifetime branch February 11, 2022 11:19
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.

1 participant