1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/queries
Simon Charette 9cb8baa0c4 Fixed #35559 -- Avoided unnecessary query on sliced union of empty queries.
While refs #34125 focused on the SQL correctness of slicing of union of
potentially empty queries it missed an optimization opportunity to avoid
performing a query at all when all queries are empty.

Thanks Lucidiot for the report.
2024-07-19 08:54:47 +02:00
..
__init__.py
models.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_bulk_update.py
test_contains.py
test_db_returning.py
test_explain.py Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans. 2024-03-15 06:58:14 +01:00
test_iterator.py
test_q.py Refs #34007, Refs #35359 -- Added Q.referenced_based_fields property. 2024-05-02 19:05:13 +02:00
test_qs_combinators.py Fixed #35559 -- Avoided unnecessary query on sliced union of empty queries. 2024-07-19 08:54:47 +02:00
test_query.py
test_sqlcompiler.py
tests.py Fixed #28900 -- Propagated all selected fields to combinator queries. 2024-07-03 16:36:25 +02:00