Re:Django 1.11 beta 1 released
by mozumder on Monday February 20, 2017 @10:14PM
(#13692959)
Aren't SQL subqueries pretty much standard across all databases anyways? Why would writing them in Django's ORM be more compatible?
[ Parent
| on HN ]
Field names, table names, quotes or not - a few examples of things that can differ. The syntax of subqueries themselves are standard AFAIK.
Building subqueries inside Django gives the rest of Django access to them for things like aggregation or filters.