willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoWhoopsthumbsnap.comimagemessage-square79fedilinkarrow-up11.33Karrow-down117
arrow-up11.32Karrow-down1imageWhoopsthumbsnap.comwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square79fedilink
minus-squaremrbaby@lemmy.worldlinkfedilinkarrow-up15·1 year agoAnd you can save a bunch of time by inlining all this into one query
minus-square342345@feddit.delinkfedilinkarrow-up5·edit-21 year agoWhy update before select? Shouldn’t it be the other way around? (I’m clueless. )
minus-squareJuja@lemmy.worldlinkfedilinkarrow-up9·1 year agoThe select after the update is to check if the update went through properly. You can have more selects before the update if you wanted to.
minus-squareAgent641@lemmy.worldlinkfedilinkarrow-up5·1 year agoThe four horsemen of the datapocalypse
deleted by creator
And you can save a bunch of time by inlining all this into one query
Why update before select? Shouldn’t it be the other way around? (I’m clueless. )
The select after the update is to check if the update went through properly. You can have more selects before the update if you wanted to.
Ah. It makes sense now. Thanks.
The four horsemen of the datapocalypse
deleted by creator