#6785: QuerySet.get() should only attempt to fetch a limited number of rows
-------------------------------------+-------------------------------------
     Reporter:  deadwisdom           |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by akaariai):

 I'm beginning to think committing this was a mistake. Correctly working
 code shouldn't face this issue, so why optimize it. Removing this from 1.8
 is ok for me.

 One possibility is to use the iterator() method, so we don't turn all the
 rows to model instances.

--
Ticket URL: <https://code.djangoproject.com/ticket/6785#comment:13>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.7583bff76b8934f1a83a41b6546ddac0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to