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
Copy file name to clipboardExpand all lines: docs/changelog.rst
+4
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ Development
8
8
===========
9
9
- (Fill this out as you fix issues and develop your features).
10
10
- Add support for transaction through run_in_transaction (kudos to juannyG for this) #2569
11
+
Some considerations:
12
+
- make sure to read https://www.mongodb.com/docs/manual/core/transactions-in-applications/#callback-api-vs-core-api
13
+
- run_in_transaction context manager relies on Pymongo coreAPI, it will retry automatically in case of `UnknownTransactionCommitResult` but not `TransientTransactionError` exceptions
14
+
- Using .count() in a transaction will always use Collection.count_document (as estimated_document_count is not supported in transactions)
0 commit comments