Transaction control

Enforce the use of transaction control (savepoints and rollbacks) when multiple database operations are performed within the same block.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over a week ago


All attempts to  modify the database should make sure that, in case of error, no inconsistencies are never left in the database.  


  • Apex classes and triggers


  • This rule will not fire on test methods

See also

Did this answer your question?