this post was submitted on 02 Mar 2024
573 points (98.2% liked)

Programmer Humor

34808 readers
182 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] mikyopii@programming.dev 85 points 1 year ago (4 children)

I always run my queries in a script that will automatically rollback if the number of rows changed isn't one. If I have to change multiple rows I should probably ask myself what am I doing.

[–] assembly@lemmy.world 84 points 1 year ago

Damn that’s a good idea. Going to write that down, put it in the to do list, and regret not dosing it.

load more comments (3 replies)