1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/queries
Simon Charette c58a8acd41 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.
2022-10-05 14:04:49 +02:00
..
__init__.py
models.py Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields for models with Meta.ordering. 2022-10-04 08:19:34 +02:00
test_bulk_update.py Made QuerySet.bulk_update() raise an error when batch_size is zero. 2022-06-13 06:25:25 +02:00
test_contains.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_db_returning.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_explain.py Fixed #33717 -- Dropped support for PostgreSQL 11. 2022-05-19 09:26:48 +02:00
test_iterator.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_q.py Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
test_qs_combinators.py Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on MySQL. 2022-10-05 14:04:49 +02:00
test_query.py Used AND, OR, XOR constants instead of hard-coded values. 2022-07-27 07:55:09 +02:00
test_sqlcompiler.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Refs #34012 -- Added test for ordering by transform of related fields. 2022-09-22 12:55:47 +02:00