def get_sql(self):
        return '{0} {1} ON {2}'.format(self.join_type, self.right_table.get_sql(), self.get_condition())
Generates the JOIN sql for the join tables and join condition
dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/Join.get_sql