# File lib/mongoid/criterion/complex.rb, line 66
      def ==(other)
        return false unless other.is_a?(self.class)
        self.key == other.key && self.operator == other.operator
      end