summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2022-07-04 21:51:07 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-10-05 14:04:49 +0200
commitc58a8acd413ccc992dd30afd98ed900897e1f719 (patch)
treede41656a5439b66da60bf1d6470887a0e7dea33a /django/db/models/sql/query.py
parent344d31c7e9ede4088e85c859f488d7a926918ec0 (diff)
Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on MySQL.
Columns of the left outer most select statement in a combined query can be referenced by alias just like by index. This removes combined query ordering by column index and avoids an unnecessary usage of RawSQL which causes issues for backends that specialize the treatment of null ordering.
Diffstat (limited to 'django/db/models/sql/query.py')
0 files changed, 0 insertions, 0 deletions