def record_rows(view, limit)
      en = Enumerator.new do |e|
        view_opts = {include_docs: true, stream: false, limit: limit}
        rows_retrieved = 0
        total_rows = nil
        loop do
          v = client.view(view, view_opts)
          total_rows ||= v.total_rows
          rows_retrieved += v.rows.size
          v.rows.each do |row|
            next if row['id'].start_with?('_design')
            e.yield row
          end
          break if rows_retrieved == total_rows
          view_opts[:startkey] = v.rows.last['id'] + '0'
        end
      end
      en.lazy
    end
def record_rows(view, limit)
      en = Enumerator.new do |e|
        view_opts = {include_docs: true, stream: false, limit: limit}
        rows_retrieved = 0
        total_rows = nil
        loop do
          v = client.view(view, view_opts)
          total_rows ||= v.total_rows
          rows_retrieved += v.rows.size
          v.rows.each do |row|
            next if row['id'].start_with?('_design')
            e.yield row
          end
          break if rows_retrieved == total_rows
          view_opts[:startkey] = v.rows.last['id'] + '0'
        end
      end
      en.lazy
    end
Return an enumerator that provides individual records from batched view
 requests.

 @return [Enumerator]
 @see #records