Changes between Version 1 and Version 2 of Ticket #34450, comment 3


Ignore:
Timestamp:
Mar 31, 2023, 8:28:40 AM (21 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34450, comment 3

    v1 v2  
    11`QuerySet.filter` results [https://github.com/django/django/blob/066aabcb77579cf8d549119c860d11cd15e3eef1/django/db/models/query.py#LL1463C28-L1463C28 in a single] `Query.add_q` so I'm not sure that comparing the effect of two distinct `add_q` call should be the area of focus here as the latter is more alike to `filter()` chaining calls (e.g. `QuerySet.filter().filter()`) which has different semantic when dealing with multi-valued relationships.
     2
     3It appears there is an issue in `Query.build_filter` when dealing with expressions, possibly the lack of `can_reuse`/`used_aliases` passing to `Expression.resolve_expression`.
Back to Top