code: def models(self, model=None):
          
          for query in self.__queries:
              if isinstance(query, orb.Query):
                  yield query.model(model)
              else:
                  for model in query.models(model):
                      yield model
docs: Returns the tables that this query is referencing.
  
          :return     [ <subclass of Table>, .. ]