4 ms·
Doesn't alchemy have an execute method, to which you can pass a raw sql?
by hcho 7y ago
Doesn't alchemy have an execute method, to which you can pass a raw sql?
- runin2k1 7y agoOf 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.
- OJFord 7y agoIf 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.
- tmefq 7y agoYes that's what happened to me. Project requirements.
- TomMarius 7y agoThat doesn't seem like something I'd accept from a developer on my team