Opened 5 years ago
Last modified 5 years ago
#32058 closed New feature
Add count to RawQueryset — at Initial Version
| Reported by: | jkevingutierrez | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
count() doesn't exist in RawQuerySet. It would be good to have the count method
Here is an implementation:
https://stackoverflow.com/a/18179123/4508187
Note:
See TracTickets
for help on using tickets.