forfor loop work in the mutation, which of the following is correct?awaitawait on each insertinsert, updateupdate, deletedelete, etc. is effectively ignored in terms of execution β only its intent is preserved β and all changes are committed together in a single transaction when the mutation function ends.awaitawait is converted into an enqueue operation, and the time spent enqueuing is negligible. (However, in this case, using Promise.allPromise.all would still be slightly faster than a forfor loop, which would contradict the earlier comment.)Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join