Opened 7 years ago
Last modified 7 years ago
#29337 closed Cleanup/optimization
__len__ & __bool__ support in RawQueryset — at Initial Version
Reported by: | Adnan Umer | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
__len__
& __bool__
are not implemented because of not having internal results caching in RawQueryset. https://code.djangoproject.com/ticket/28600 adds support for that.
__len__
& __bool__
supports need to be added for RawQueryset
Note:
See TracTickets
for help on using tickets.