1
0
mirror of https://github.com/django/django.git synced 2025-03-13 02:40:47 +00:00

8 Commits

Author SHA1 Message Date
Simon Charette
dc1c9b4ddd [5.2.x] Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.
Non-tuple exact and in lookups have specialized logic for subqueries that can
be adapted to properly assign select mask if unspecified and ensure the number
of involved members are matching on both side of the operator.

Backport of 41239fe34d64e801212dccaa4585e4802d0fac68 from main.
2025-02-11 09:16:44 +01:00
Jacob Walls
46b3e7dd8c Fixed #36048 -- Preferred ValueError to NotSupportedError for composite pk sanity checks.
These checks are not backend-dependent.
2025-01-06 09:33:27 +01:00
Bendeguz Csirmaz
f7601aed51 Refs #373 -- Added TupleIn subqueries. 2024-11-04 09:20:54 +01:00
Simon Charette
03c0a3de72 Refs #373 -- Used a feature flag to disable composite subquery test on MySQL. 2024-11-01 08:15:10 +01:00
Bendeguz Csirmaz
97c05a64ca Refs #373 -- Added additional validations to tuple lookups. 2024-10-14 14:51:57 +02:00
Bendeguz Csirmaz
5ed72087c4 Refs #373 -- Added support for using tuple lookups in filters. 2024-09-26 10:25:49 -04:00
Bendeguz Csirmaz
347ab72c02 Refs #373 -- Improved test coverage of tuple lookup checks.
This also removed unreachable checks.
2024-09-11 11:23:01 +02:00
Bendeguz Csirmaz
1eac690d25 Refs #373 -- Added tuple lookups. 2024-08-01 17:26:09 +02:00