logoalt Hacker News

hatefulheartyesterday at 4:15 PM2 repliesview on HN

What optimizations are you making here when at the end of the day performance is dictated by the schema, the query planner and the network?


Replies

bot403yesterday at 4:35 PM

I read it as "I've optimized the orm to be minimal overhead over raw sql a lot of the time".

show 1 reply
hparadizyesterday at 4:38 PM

How can I possibly condense 24 years of deep knowledge in one comment for you?

The tldr is if you're ever concatenating strings in order to build a query you're just doing what the entire job of orm is but rolling your own and chances are you'll end up with a bunch of bugs in how you handle well.... Everything.

show 1 reply