#29725: Inefficient SQL generated when counting a ManyToMany
     Reporter:  Gavin Wahl           |                    Owner:  ontowhee
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * resolution:   => fixed
 * status:  assigned => closed


 In [changeset:"66e47ac69a7e71cf32eee312d05668d8f1ba24bb" 66e47ac6]:
 {{{#!CommitTicketReference repository=""
 Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists()
 on a many to many relation.

 Co-Authored-By: Shiwei Chen <april.chen.0...@gmail.com>
Ticket URL: <https://code.djangoproject.com/ticket/29725#comment:29>
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 view this discussion on the web visit 

Reply via email to