c/programming · by Aijan@programming.dev · 1yThe Innocent Loop https://lackofimagination.org/2025/04/the-innocent-loop/21 points · 2 comments · view on lemmy.world
2 Comments
SchwertImStein@lemmy.dbzer0.com · 4 pts · 1y
Yeah, getting the whole table from the db and filtering it in the code is always a bad approach. Put the filter in the db query.
Reptorian@programming.dev · 2 pts · 1y
I never had a issue with loops. If I feel something is off, I terminate, check code, and fix it.