def iterator(self):
if not self._result_cache:<EOL><INDENT>len(self)<EOL><DEDENT>for r in self._result_cache:<EOL><INDENT>yield r<EOL><DEDENT>
An iterator over the results from applying this QuerySet to the
database.