Get number of results from Django's raw() query function

Posted by Galen on Stack Overflow See other posts from Stack Overflow or by Galen
Published on 2010-06-14T12:44:51Z Indexed on 2010/06/14 13:02 UTC
Read the original article Hit count: 451

I'm using a raw query and i'm having trouble finding out how to get the number of results it returns. Is there a way?

edit

.count() doesnt work. it returns: 'RawQuerySet' object has no attribute 'count'

© Stack Overflow or respective owner

Related posts about python

Related posts about django