Skip to content

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant