Read the "Transactions" section here:
Read the "Transactions" section here: https://docs.convex.dev/functions/mutation-functions#transactions
Also the first few sentences under "Restrictions on queries and mutations" here: https://docs.convex.dev/functions/runtimes#restrictions-on-queries-and-mutations
2 Replies
oh thanks!
that's very interesting
does it mean that i can't use transformation logic? for example, increment a value?
what will happen if convex will decide to rerun the function multiple times?
Yes, transformations are fine. More reading for ya: https://docs.convex.dev/database/advanced/occ
OCC and Atomicity | Convex Developer Hub
In Queries, we mentioned that determinism as