Opened 7 years ago
Closed 7 years ago
#29339 closed Cleanup/optimization (fixed)
Add result caching to RawQuerySet / QuerySet.raw()
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
In ec0319f: