Hacker News new | ask | show | jobs
by tmefq 2601 days ago
Well said. I bitterly hated sqlalchemy because many times I knew perfectly well how to write a query in plain sql but for the life of me I couldn't figure out how to write the same query using the sqlalchemy language.
1 comments

Doesn't alchemy have an execute method, to which you can pass a raw sql?
Of course it does.

Not that a little detail like that would stop someone from complaining about something that they don't put in the effort to learn.

If you just use that all the time, your coworkers will rightly complain that it's not idiomatic or using the tooling available in code review.

I'm all for SQL, but if the project's set in its ORM then it doesn't make sense to do ORM.raw(...) or whatever out of preference alone.

Yes that's what happened to me. Project requirements.
That doesn't seem like something I'd accept from a developer on my team