We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b919174 commit 95af74eCopy full SHA for 95af74e
source/fundamentals/transactions.txt
@@ -177,6 +177,11 @@ if a callback you pass to the ``withTransaction()`` method returns the
177
document ``{ hello: "world" }``, then the ``withTransaction()`` method
178
also returns that document.
179
180
+.. important::
181
+
182
+ To avoid infinite looping errors, ensure that the callback you pass to
183
+ the ``withTransaction()`` method catches any errors that it raises.
184
185
When you use the Convenient Transaction API, you
186
can propagate return values from the callback as the return values of
187
the ``withTransaction()`` and ``withSession()`` methods to
0 commit comments