def promote_disjunction(self, aliases_before, alias_usage_counts,
                            num_childs):
        for alias, use_count in alias_usage_counts.items():
            if use_count < num_childs and alias not in aliases_before:
                self.promote_joins([alias])
This method is to be used for promoting joins in ORed filters.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/sql/query.py/Query.promote_disjunction