zidZ
Convex Community2y ago
15 replies
zid

transactional inserts

For some reason, I had always assumed that if one of the db operations (ex:db.insert) fail within a function, convex enforces transactional behavior across all operations to fail or revert. Upon testing, this does not seem to be the case and we would need to implement our own rollback mechanisms. Given the behavior, it's seems obvious but just incase, I would be grateful for just a confirmation, thank you.
Was this page helpful?