Re: [Django] #35918: Allow SQLCompiler.execute_sql() to return row count (was: SQLCompiler.execute_sql result_type CURSOR usage can be minimized)

3 views
Skip to first unread message

Django

unread,
Jan 3, 2025, 9:17:46 AM1/3/25
to django-...@googlegroups.com
#35918: Allow SQLCompiler.execute_sql() to return row count
-------------------------------------+-------------------------------------
Reporter: Raphael Gaschignard | Owner: Raphael
Type: | Gaschignard
Cleanup/optimization | Status: closed
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 Tim Graham):

* summary: SQLCompiler.execute_sql result_type CURSOR usage can be
minimized => Allow SQLCompiler.execute_sql() to return row count

--
Ticket URL: <https://code.djangoproject.com/ticket/35918#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages