Negates this instance and returns it.

        :return     self

def negated(self):
        """
        Negates this instance and returns it.

        :return     self
        """
        op = QueryCompound.Op.And if self.__op == QueryCompound.Op.Or else QueryCompound.Op.Or
        return QueryCompound(*self.__queries, op=op)