Don't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 20 hours agorm -rf /usr due to typosh.itjust.worksimagemessage-square38fedilinkarrow-up1333file-text
arrow-up1333imagerm -rf /usr due to typosh.itjust.worksDon't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 20 hours agomessage-square38fedilinkfile-text
minus-squareBuckshot@programming.devlinkfedilinkarrow-up8·4 hours agoWe’ve all done that at some point. That sinking feeling when your quick update doesn’t return immediately. Good to get into the habit of wrapping your queries in a begin transaction/rollback until you verify the result 😁
minus-squarebitjunkie@lemmy.worldlinkfedilinkarrow-up6·edit-24 hours agoI was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I’m sure I need to make a change.
We’ve all done that at some point.
That sinking feeling when your quick update doesn’t return immediately.
Good to get into the habit of wrapping your queries in a begin transaction/rollback until you verify the result 😁
I was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I’m sure I need to make a change.