Don't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 18 hours agorm -rf /usr due to typosh.itjust.worksimagemessage-square34fedilinkarrow-up1318arrow-down12file-text
arrow-up1316arrow-down1imagerm -rf /usr due to typosh.itjust.worksDon't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 18 hours agomessage-square34fedilinkfile-text
minus-squareBuckshot@programming.devlinkfedilinkarrow-up5·2 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-up3·edit-21 hour 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.