Don't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 2 days agorm -rf /usr due to typosh.itjust.worksimagemessage-square19fedilinkarrow-up1338arrow-down12file-text
arrow-up1336arrow-down1imagerm -rf /usr due to typosh.itjust.worksDon't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 2 days agomessage-square19fedilinkfile-text
minus-squarebitjunkie@lemmy.worldlinkfedilinkarrow-up36·edit-21 day 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-up22·1 day agoah! yes … little bobby tables we call him.
minus-squareFauxLiving@lemmy.worldlinkfedilinkarrow-up11·1 day agohttps://xkcd.com/327/ For the new folks.
minus-squareBuckshot@programming.devlinkfedilinkarrow-up12·1 day 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-up8·edit-21 day 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.
https://xkcd.com/327/
For the new folks.
There are ten thousand of them after all
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.