def all(self, as_dict=False, as_ordereddict=False):
<EOL>rows = list(self)<EOL>if as_dict:<EOL><INDENT>return [r.as_dict() for r in rows]<EOL><DEDENT>elif as_ordereddict:<EOL><INDENT>return [r.as_dict(ordered=True) for r in rows]<EOL><DEDENT>return rows<EOL>
Returns a list of all rows for the RecordCollection. If they haven't
        been fetched yet, consume the iterator and cache the results.