-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: 3.6.6
-
Component/s: None
In 3.6 we should document that withTransaction returns a command result if it was successful and undefined if the transaction was intentionally aborted. And otherwise throws if there is an error during the transaction. Additionally we should clarify which sessions helpers return promises, e.g. endSession returns a promise if no callback is passed.
- is related to
-
NODE-4108 session.withTransaction has wrong return type
- Closed