#27149: Allow using a subquery in QuerySet.filter()
-------------------------------------+-------------------------------------
     Reporter:  MikiSoft             |                    Owner:  Matthew
                                     |  Schinckel
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  Queryset SubQuery    |             Triage Stage:  Accepted
  Exists                             |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Matthew Schinckel):

 * status:  new => assigned
 * needs_better_patch:  0 => 1
 * has_patch:  0 => 1
 * owner:  nobody => Matthew Schinckel
 * keywords:  QuerySet.extra => Queryset SubQuery Exists


Comment:

 For what it's worth, I have a PR about this (thanks to whoever pointed
 this issue out).

 However, there is still one outstanding issue related to using
 .filter(foo__in=SubQuery(...))

 Feel free to jump in with suggestions about how to resolve it at
 https://github.com/django/django/pull/6478

--
Ticket URL: <https://code.djangoproject.com/ticket/27149#comment:7>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.583cb2c1c2295fc56141333a1061313a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to