News for hackers. Stuff that matters.
Re:How not to structure database-backed web apps: performanc... by threeseed on Thursday June 28, 2018 @04:04AM (#17414958)
> ORM makes it much harder to see what is going on under the hood

I've never in the last 20+ years seen an ORM that doesn't allow you to log the SQL queries with a single configuration option.

Re:How not to structure database-backed web apps: performanc... by ben-schaaf on Thursday June 28, 2018 @04:14AM (#17415002)
Heck, I'm disappointed in any ORM that doesn't log queries by default in development mode!
Re:How not to structure database-backed web apps: performanc... by asfdsfggtfd on Thursday June 28, 2018 @05:51AM (#17415453)
With an add on Django even displays them in the browser!
Re:How not to structure database-backed web apps: performanc... by paulie_a on Thursday June 28, 2018 @09:06AM (#17416496)
It's trivial to find optimizations in django debug toolbar..."oh yeah I should use select_related"

If you have no idea what you are doing with an orm you probably won't be able to write decent SQL anyways.