#36606: Optimize QuerySet.values_list(flat=True) with no fields
-------------------------------------+-------------------------------------
     Reporter:  Adam Johnson         |                    Owner:  Adam
         Type:                       |  Johnson
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):

 Yes, I'm inclined to agree. It's not clear when reading what
 `values_list(flat=True)` would do.

 I think we can make the optimization *and* deprecate, though.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36606#comment:4>
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/010701993a1b5d4c-4edec708-f846-435f-bfe6-084746265ba7-000000%40eu-central-1.amazonses.com.

Reply via email to