def models(self, model=None):
for query in self.__queries:<EOL><INDENT>if isinstance(query, orb.Query):<EOL><INDENT>yield query.model(model)<EOL><DEDENT>else:<EOL><INDENT>for model in query.models(model):<EOL><INDENT>yield model<EOL><DEDENT><DEDENT><DEDENT>
Returns the tables that this query is referencing.

:return     [ <subclass of Table>, .. ]