, but using our ORM (Django's), by itering over items, extracting max using the ORM, adding the value and comparing. I took a look at the ORM docs, and it wasn't feasible to build the equivalent SQL ...
If you can specify your ORM query in such a way that it can write efficient SQL, then you can write efficient SQL. In fact, it's easier to write good SQL, and not just because the tooling is more ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results