#28872: JSONField __in operator breaks when given a values_list()
-------------------------------------+-------------------------------------
     Reporter:  Jerome Leclanche     |                    Owner:
                                     |  JaeHyuckSa
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * needs_better_patch:  0 => 1

Comment:

 Patch had a few issues notably

 - It mutated a source expression during compilation
 - It altered `sql.Query.select` and `.annotations` in a way that breaks
 referenceing (`group_by`, `order_by`)

 I suggested an alternative approach using a subquery pushdown instead.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/28872#comment:10>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019b56457d79-b6912c34-e4b0-4fb0-b9b7-9df85227854b-000000%40eu-central-1.amazonses.com.

Reply via email to