def __iter__(self):
if self._cached:<EOL><INDENT>for record in self._cache:<EOL><INDENT>yield record<EOL><DEDENT>return<EOL><DEDENT>else:<EOL><INDENT>cache = []<EOL><DEDENT>for record in self.cursor.skip(self.skip).limit(self.limit):<EOL><INDENT>yield record<EOL>cache.append(record)<EOL><DEDENT>self._cached = True<EOL>self._cache = cache<EOL>
The specific page of records.