r/ProgrammerHumor • • Oct 14 '25

Advanced neverForget

Post image
14k Upvotes

615 comments sorted by

View all comments

1

u/Webers_flaw Oct 14 '25

After making an oopsie in prod and loosing a tiny bit of hair, I always start transactions before deleting/updating and only commit if the num of rows affected is the same as the selected ones