def each
      documents = load_docs
      documents.each { |doc| yield doc }
      while more?
        return kill if limited? && @limit <= 0
        documents = get_more
        documents.each { |doc| yield doc }
      end
    end
def each
      documents = load_docs
      documents.each { |doc| yield doc }
      while more?
        return kill if limited? && @limit <= 0
        documents = get_more
        documents.each { |doc| yield doc }
      end
    end
Iterate over the results of the query.

 @example Iterate over the results.
   cursor.each do |doc|
     #...
   end

 @return [ Enumerator ] The cursor enum.

 @since 1.0.0