'Oracle requires special cases for %% and & operators in query expressions'

def combine_expression(self, connector, sub_expressions):

    if (connector == '%%'):
        return ('MOD(%s)' % ','.join(sub_expressions))
    elif (connector == '&'):
        return ('BITAND(%s)' % ','.join(sub_expressions))
    elif (connector == '|'):
        raise NotImplementedError('Bit-wise    or    is    not    supported    in    Oracle.')
    return super(DatabaseOperations, self).combine_expression(connector, sub_expressions)
