--
Ticket URL: <https://code.djangoproject.com/ticket/18631>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: jason@… (added)
* stage: Unreviewed => Design decision needed
--
Ticket URL: <https://code.djangoproject.com/ticket/18631#comment:1>
* cc: jason@… (removed)
* stage: Design decision needed => Unreviewed
--
Ticket URL: <https://code.djangoproject.com/ticket/18631#comment:2>
* stage: Unreviewed => Accepted
Comment:
I am marking this as accepted.
I am not sure if the attached patch is the right way to do this. But some
way to do this would be nice for debugging purposes.
--
Ticket URL: <https://code.djangoproject.com/ticket/18631#comment:3>
* status: new => closed
* resolution: => wontfix
Comment:
I'm not sure this worth keeping around.
Terminal operations such as `update` and `delete` can actually result in
multiple queries (MTI in the case of `update`, chain of `SELECT` and
`DELETE` in the case of `delete` where the `SELECT` must run to return the
actual data that would be passed to `DELETE`) and the cases where you want
to know the exact queries are better served through `django.db` logger
capture or using options such as `--debug-sql` when running tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/18631#comment:4>