You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
A :class:`neo4j.Session` is a logical container for any number of causally-related transactional units of work.
429
+
A **session** is a logical container for any number of causally-related transactional units of work.
428
430
Sessions automatically provide guarantees of causal consistency within a clustered environment but multiple sessions can also be causally chained if required.
429
431
Sessions provide the top level of containment for database activity.
430
432
Session creation is a lightweight operation and *sessions are not thread safe*.
431
433
432
434
Connections are drawn from the :class:`neo4j.Driver` connection pool as required.
433
435
434
-
A :class:`neo4j.Transaction` is a unit of work that is either committed in its entirety or is rolled back on failure.
436
+
A **transaction** is a unit of work that is either committed in its entirety or is rolled back on failure.
A :class:`neo4j.AsyncSession` is a logical container for any number of causally-related transactional units of work.
242
+
A **session** is a logical container for any number of causally-related transactional units of work.
241
243
Sessions automatically provide guarantees of causal consistency within a clustered environment but multiple sessions can also be causally chained if required.
242
244
Sessions provide the top level of containment for database activity.
243
-
Session creation is a lightweight operation and *sessions cannot be shared between coroutines*.
245
+
Session creation is a lightweight operation and *sessions are not thread safe*.
244
246
245
247
Connections are drawn from the :class:`neo4j.AsyncDriver` connection pool as required.
246
248
247
-
A :class:`neo4j.AsyncTransaction` is a unit of work that is either committed in its entirety or is rolled back on failure.
249
+
A **transaction** is a unit of work that is either committed in its entirety or is rolled back on failure.
0 commit comments