Brian Mearns
1 min readJul 3, 2019

--

If I were writing this query by hand, I would use a SQL JOIN, which I would expect to be much more performant. Would an ORM reasonably be able to recognize that pattern and implement this in a single query, or is using an ORM necessarily a performance trade-off in exchange for convenience?

--

--

Brian Mearns
Brian Mearns

Written by Brian Mearns

Software Engineer since 2007 ・ Parent ・ Mediocre Runner ・ Flower and Tree Enthusiast ・ Crappy Wood Worker ・ he/him or they/them

Responses (1)