Opened 4 years ago

Last modified 4 years ago

#32058 closed New feature

Add count to RawQueryset — at Version 2

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 (last modified by jkevingutierrez)

count() doesn't exist in RawQuerySet.

AttributeError: 'RawQuerySet' object has no attribute 'count'

Here is an implementation:
https://stackoverflow.com/a/18179123/4508187

Change History (2)

comment:1 by jkevingutierrez, 4 years ago

Description: modified (diff)

comment:2 by jkevingutierrez, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top