class_docstr: A set of excellent Records from a query.
class_docstr_tok: ["A","set","of","excellent","Records","from","a","query","."]
docstr: Returns a list of all rows for the RecordCollection. If they haven't
  been fetched yet, consume the iterator and cache the results.
docstr_tok: ["Returns","a","list","of","all","rows","for","the","RecordCollection",".","If","they","haven't","been","fetched","yet",",","consume","the","iterator","and","cache","the","results","."]
code: def all(self, as_dict=False, as_ordereddict=False):
      """Returns a list of all rows for the RecordCollection. If they haven't
      been fetched yet, consume the iterator and cache the results."""
  
      # By calling list it calls the __iter__ method
      rows = list(self)
  
      if as_dict:
          return [r.as_dict() for r in rows]
      elif as_ordereddict:
          return [r.as_dict(ordered=True) for r in rows]
  
      return rows
  
imports: import os
  from sys import stdout
  from collections import OrderedDict
  from contextlib import contextmanager
  from inspect import isclass
  import tablib
  from docopt import docopt
  from sqlalchemy import create_engine, exc, inspect, text
label_desc: Use image node_id 10 for calling the RecordCollection obj's underlying member method code with example usage: obj.all(as_dict, as_ordereddict) and returns: rows, unknown, unknown