#29789: Support nested relations in FilteredRelation's condition
-------------------------------------+-------------------------------------
     Reporter:  Thomas Riccardi      |                    Owner:  Noumbissi
                                     |  Valere Gille Geovan
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  FilteredRelation     |             Triage Stage:  Accepted
  nested relations                   |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Alex Scott):

 Noumbissi, just wondering if you're working on this?  And if so, how it's
 progressing?

 This problem (of needing to join to a subquery or add additional
 conditions to a join that is nested more than once) seems to come up quite
 a bit.  I've posted my own question on StackOverflow:
 https://stackoverflow.com/questions/58895627/django-queryset-with-
 aggregation-and-filtered-left-join-multiple-levels-deep

 In the absence of this feature, it'd be nice to have someone intimately
 familiar with the ORM propose how they would tackle this as I haven't seen
 a "this feature is not yet available, but as a workaround, try this
 instead..".  Would be very helpful.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29789#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.4dfe60287d129aebf6f530eb2152a1ae%40djangoproject.com.

Reply via email to