1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +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 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 #35294 -- Fixed TEXT format of QuerySet.explain() for long plans. 2024-03-15 06:58:14 +01:00
test_iterator.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
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 Refs #33308 -- Avoided passing None to RawSQL's params. 2022-12-02 10:56:09 +01:00
test_sqlcompiler.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Fixed #28900 -- Propagated all selected fields to combinator queries. 2024-07-03 16:36:25 +02:00