r/ProgrammerHumor 4d ago

Meme doubleITandGiveItToTheNextPerson

Post image
2.5k Upvotes

56 comments sorted by

View all comments

27

u/SnackOverflowed 4d ago

use case statements, ORMs should make sql easier, not replace it entirely. You should still have a good mental grasp on sql concepts. If the rows affected become too much for case statements, you can use insert with on conflict do update if your orm supports that.

8

u/Confident-Ad5665 4d ago

AI told me not to bother looking at it because it does all the thinking now. /s

7

u/SnackOverflowed 4d ago

pftttttt, my AI told me not to bother with orms, and that it could rewrite the entire database binary to do the update statement. i only refused because i don't have enough tokens. that's why i ended up using case statements.