def _get_deleted_at_column(self, builder):
        """
        Get the "deleted at" column for the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder

        :rtype: str
        """
        if 0 > len(builder.get_query().joins):
            return builder.get_model().get_qualified_deleted_at_column()
        else:
            return builder.get_model().get_deleted_at_column()
dataset/ETHPy150Open sdispater/orator/orator/orm/scopes/soft_deleting.py/SoftDeletingScope._get_deleted_at_column/swapped operands of `>`