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-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.
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.