#36605: Support chaining `QuerySet.in_bulk()` after `.values()` or 
`.values_list()`
-------------------------------------+-------------------------------------
               Reporter:  Adam       |          Owner:  Adam Johnson
  Johnson                            |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  Database   |        Version:  dev
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Per [https://github.com/django/new-features/issues/74 new-features#74 ],
 supporting `values()`/`values_list()` to be chained with `in_bulk()` would
 allow fetching limited columns while obeying database parameter limits.
 The implementation for #28586 would benefit from it, at least.

 #35690 improved the error message for these currently-unsupported cases,
 but also had an associated PR trying to add support:
 https://github.com/django/django/pull/18497 . We can revive this PR and
 finish it off.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36605>
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/010701993838f189-a68bceaf-0c1c-4c8e-8791-cf06c547069e-000000%40eu-central-1.amazonses.com.

Reply via email to