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-squarebitjunkie@lemmy.worldlinkfedilinkarrow-up16·edit-24 hours agoThis entire thread is giving me flashbacks to my junior dev days and forgetting a where clause when updating/deleting database records
minus-squareEpicFailGuy@lemmy.worldlinkfedilinkEnglisharrow-up2·51 minutes agoah! yes … little bobby tables we call him.
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.
This entire thread is giving me flashbacks to my junior dev days and forgetting a where clause when updating/deleting database records
ah! yes … little bobby tables we call him.
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.