collection's transaction commit

Hi, is there a notion of transaction commit. Meaning that one transaction is build of several collection’s update. And only when they goes well (the update), then all collection’s update can be committed to the database unless they are all reverted.