[Django] #29339: Add result caching to RawQuerySet / QuerySet.raw()

3 views
Skip to first unread message

Django

unread,
Apr 19, 2018, 11:29:43 AM4/19/18
to django-...@googlegroups.com
#29339: Add result caching to RawQuerySet / QuerySet.raw()
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: nobody
Graham |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Adding `prefetch_related()` (#28600) and `__len__()` and `__bool__()`
(#29337) to `RawQuerySet`/`QuerySet.raw()` requires result caching to
avoid performance problems as discussed in ticket:22349#comment:4.

--
Ticket URL: <https://code.djangoproject.com/ticket/29339>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 19, 2018, 12:28:56 PM4/19/18
to django-...@googlegroups.com
#29339: Add result caching to RawQuerySet / QuerySet.raw()
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"ec0319ff821492783f555917b61bceacddb77571" ec0319f]:
{{{
#!CommitTicketReference repository=""
revision="ec0319ff821492783f555917b61bceacddb77571"
Fixed #29339 -- Added result caching to RawQuerySet.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29339#comment:1>

Reply all
Reply to author
Forward
0 new messages