def with_query(self, query=None, alias=None):
        self.with_tables.append(TableFactory(query, alias=alias))
        return self
:return: self
dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/Query.with_query